Wedding website for Jared & Hannah!
python3
- Python 3.8+python3 -m venv
- Shipped with Python 3nvm
- See https://github.com/nvm-sh/nvmpostgresql
,python3.X-dev
(replace X with version used, e.gpython3.8-dev
),libpq-dev
Run ./server_install.sh
to configure the Python and Node.js environments.
$ source ./venv/bin/activate
$ python3 manage.py runserver
Note: The process working directory must be the repository directory.
Run ./start_server.sh
to start the server. By default, it will run in DEVELOPMENT
. To use a different runtime, set
the RUNTIME_ENVIRONMENT
environment variable prior to running ./start_server.sh
.
Runtimes:
PRODUCTION
TEST
DEVELOPMENT
Example:
$ ./server_start.sh
or
$ export RUNTIME_ENVIRONMENT=PRODUCTION; ./server_start.sh
Note: The process working directory must be the repository directory.