Ubyssey Code
Search…
Dispatch Setup

Docker

Run docker-compose
1
# Move to your Ubyssey project dir
2
cd ~/ubyssey-dev
3
# Start docker containers
4
docker-compose up
Copied!

Mac / Windows

Uninstall the production version of Dispatch (this was installed when you set up the ubyssey.ca repo)
1
pip3 uninstall dispatch
Copied!
Clone the dispatch repo and install it in "develop" mode
1
git clone https://github.com/ubyssey/dispatch.git
2
3
cd dispatch
4
pip3 install -e .[dev]
5
python3 setup.py develop
Copied!
From the ubyssey.ca repo, run the "migrate" command to bring your database schema up to date:
1
python3 manage.py migrate
Copied!
Use npm to run the Dispatch Webpack build:
1
# Front-end manager app
2
cd dispatch/dispatch/static/manager
3
4
# Install dependencies
5
npm install
6
7
# Run Webpack in watch mode
8
npm run watch
Copied!
Last modified 1yr ago
Copy link