GitXplorerGitXplorer
n

hackatrix-api

public
1 stars
0 forks
5 issues

Commits

List of commits on branch master.
Verified
27f0180415efa97bd7345d100b314d8807486b67

Merge pull request #9 from neosergio/dependabot/pip/djangorestframework-3.11.2

nneosergio committed 3 years ago
Verified
f0fa66b50bf8638186778aae4d9c5e26685cb67c

Bump djangorestframework from 3.11.0 to 3.11.2

ddependabot[bot] committed 4 years ago
Verified
e37f365fe4917c5d2ae87591f6255b6c06bfcc5a

Merge pull request #8 from neosergio/dependabot/pip/django-2.2.18

nneosergio committed 4 years ago
Verified
8a25de441065af1c9c53bdb7353d4dcc6e4c51f8

Bump django from 2.2.13 to 2.2.18

ddependabot[bot] committed 4 years ago
Verified
821324385d87b346cea29f2990d9f6df1e22a23c

Merge pull request #7 from neosergio/dependabot/pip/django-2.2.13

nneosergio committed 4 years ago
Verified
c5eb0cc20b1ce99449a247f83c528b19b474ede4

Bump django from 2.2.10 to 2.2.13

ddependabot[bot] committed 4 years ago

README

The README file for this repository.

myeventsbx

Events API

How to run in vscode

  • Install the desired python release: https://www.python.org/downloads/release/python-376/
  • Install Python extension in vscode, developer is Microsoft
  • Ctrl + Shift + P -> Pythong: Select Interpreter and select the correct version (for this project is 3.7.6)
  • Open new terminal
  • Run: "python --version or python3 --version" and verify the correct version i shown
  • Run: "python -m venv .venv" (this creates a virtual environment, it allows to install dependencies in it instead of the global environment)
  • Run: "pip install pipenv" (this allows to sync dependencies from Pipfile)

First run

  • Set the following environment variable in the virtual environment: "DJANGO_SETTINGS_MODULE=MyEvents.settings.local"
  • Run migrations through the following commands:
    • python manage.py makemigrations
    • python manage.py migrate
    • python manage.py loaddata .json (fixture-name corresponds to json files located in the users folder)

Running

  • Run the program: python manage.py runserver