-
pipenv install
-
cp test_settings.py settings.py
-
in
settings.py
- set
testing['dev']
toTrue
to bypass authentication - set
testing['developer']
to your WWU ID, to make yourself the current user locally. - set environment to
local_dev_environment
- when running pytests
- set
testing['pytest']
toTrue
, and - set
testing['dev']
toFalse
- set
- set
-
pipenv run python server.py
-
test your connection with
curl -X GET http://localhost:8888/search/all
Note: The live server is available at https://aswwumask.com/server/
- clone the repository
cp test_settings.py settings.py
- in
settings.py
- set
environment = production_environment
- update any settings needed such as
database
andsecret_key
- set
- then run docker compose build
- then run docker compose up
if you need to update settings.py
run docker-compose down
then docker-compose up --build
The raw documentation files can be found in the docs folder. To view the parsed versions, use the following links: