Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 747 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 747 Bytes

Adventure Time API

Set up

  1. Create a virtual environment: python3 -m venv .venv
  2. Activate the virtual environment: . ./.venv/bin/activate
  3. Install dependencies: pip install -r requirements.txt
  4. Set environment variables:
    export SECRET_KEY=dev
    export DEBUG=True
    export ALLOWED_HOSTS=127.0.0.1,localhost
    
  5. Migrate the database: python manage.py migrate
  6. Collect static files: python manage.py collectstatic --noinput
  7. Run the dev server: python manage.py runserver
  8. View the running application in a browser at http://localhost:8000

Helpful Links