Skip to content

gharv222/FlashCourses_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation : FlashCourses

Author: George Harvey

Last Updated: September 2018

Description: Installation Steps to run FlashCourses Locally

Relative File Path: /README.md

Set Up Git Environemnt

  • cd workspace/${SOMEPROJECT}/
  • Clone the Repo: git clone -o upstream https://github.com/unh-webappdev/FlashCourses_api.git
  • Connect to your own remote origin: git remote add origin
  • Verify Setup: cd workspace/${SOMEPROJECT}/; git remote -v
  • You should see a push and pull for upstream and origin

Create a New venv

  • cd workspace/venv/
  • virtenv

Activate venv

  • source workspace/venv/</bin/activate

Install Dependencies

  • cd FlashCourses_api/flash/docs/
  • pip install -r requirements.txt

Check Project

  • cd FlashCourses_api/flash/src/
  • python manage.py check
  • If you recieve the error "django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty." follow the following steps if not skip to makemigrations
  • Creat a new file FlashCourses_api/flash/src/FlashCourses/settings/settings_private.py
  • Add in the following two lines:
  •   DEBUG = True
    
  •   SECRET_KEY = "SOME_RANDOM_VALUE"
    

Make Migrations

  • cd FlashCourses_api/flash/src/
  • python manage.py makemigrations

Migrate

  • cd FlashCourses_api/flash/src/
  • python manage.py migrate

Run Server

  • cd FlashCourses_api/flash/src/
  • python manage.py runserver

About

Repository for the FlashCourses API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%