Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.07 KB

File metadata and controls

31 lines (22 loc) · 1.07 KB

Documentation : FlashCourses

Author: Jim Canavan

Last Updated: Sept 2018

Description: Installation Steps to run FlashCourses Locally

Relative File Path: /README.md

Settings Configuration-

  • To run the project locally without posting private information on GitHub

  • You will need to create your own settings_private.py file to be able to run the project correctly with the common.py file

  • Create a file in the settings folder (where common.py is located) and save it as settings_private.py

In your new settings_private.py you only need to have 2 items in this settings file

  • DEBUG = True
  • SECRET_KEY = "MADE_UP_CAPITAL_STRINGS’

Installing the packages needed to run the project

Within your virtual environment you will need to install all the packages that are within the requirements.txt to run the code base locally

Run from your terminal- $ pip3 install -r requirements.txt

Check for errors $ python3 manage.py check

Migrate the database

  • $ python3 manage.py makemigrations
  • $ python3 manage.py migrate