A birder's portfolio and resources for learning about and helping birds.
- Install the version Python listed in
runtime.txt
- Create a virtual environment for the project with
mkvirtualenv forthebirds
- Install the python dependencies with
pip install -r requirements.txt
- Add your
localsettings.py
file (seeforthebirds/localsettings.sample.py
) - Start the site with the command
./manage.py runserver
Click here to view on Lucidchart.
Click here to download PDF.
Django/Python. Scripts live in the standard location
(appname/management/commands
).
Javascript uses jQuery.
CSS is written in SASS, and uses gulp to automate the compilation of SASS in development. Assuming you have NPM, install the project's dependencies--listed in package.json-- by running the following in the project root:
npm install --dev-save
And to start the gulp build script, run the following in the project root:
npx gulp
Cache busting the stylesheet happens automatically: gulp compilation writes the output file's hash to disk, which updates the stylesheet url. Cache busting javascript must be done manually.