Skip to content

An example Django project using the django-uswds helper app.

License

Notifications You must be signed in to change notification settings

ChrisCompton/foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django/USWDS Example Project: Foundry

Just the scripts for now!

The Djando app is in design/

Setup Python Virtual Environment

python3 -m venv ./.foundry
source .foundry/bin/activate

Deactivate

deactivate

Running

source .foundry/bin/activate && python manage.py runserver

Install Django

python -m pip install Django

Project Initiation

django-admin startproject sitename
python manage.py startapp appname

Capture Packages

python -m pip freeze > requirements.txt
source .foundry/bin/activate
python manage.py createsuperuser

Database

python manage.py makemigrations
python manage.py migrate
python manage.py flush --no-input

Shell

python manage.py shell

About

An example Django project using the django-uswds helper app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published