Skip to content

awu1130/trafficking-grader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trafficking-grader

Human-Trafficking Training Grade Database

Setup

  1. Ensure you have the latest version of Python 3: https://www.python.org/downloads/
  2. Set up virtual environment: https://dev.to/kachiic/how-to-clone-a-django-project-from-github-and-run-it-locally-mac-ios-2o4k (This link may be better: https://www.w3schools.com/django/django_create_virtual_environment.php#:~:text=It%20is%20suggested%20to%20have,we%20will%20call%20it%20myworld%20.)
  3. Ensure you have the latest version of Python 3: https://www.python.org/downloads/
  4. Pull git project into your IDE (Suggested - Visual Studio Code) – VS code download - https://code.visualstudio.com/download
  5. Complete the migration of the database tables to be in sync with our models. (run this when setting up the project)
pip install -r requirements.txt
python manage.py makemigrations
  1. finish migrating the data
python manage.py migrate
  1. create a super user
manage.py createsuperuser.
  1. Populate database
python manage.py populate_database py
  1. Run the project with:
python manage.py runserver
  1. Look at you! You ran the project (yay) - very cool

Note: Create a FORK of the repository, then clone your fork on your local machine - You will create pull requests with your changes as opposed to updating the repository directly unless it's a small change (i.e. implementing a large feature vs updating ReadME or adding code comments). This will allow others a chance to approve changes!

Any collaborator may merge a PR afer confirming the code works.

Be sure to update your fork regularly :)

About

Human-Trafficking Training Grade Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.5%
  • HTML 27.2%
  • CSS 0.3%