/wobbly-backend

Wobbly backend service

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

wobbly-backend

Directions

Fill in Django secret key

$ mv bin/environment.sh.example bin/environment.sh

#bin/environment.sh:

#! /bin/bash

export DOCKER_IMAGE=wobbly-backend-image
export DJANGO_SECRET_KEY= <Django secret key    # (generate <= 32 characters)>
export DEBUG=True

Make scripts executable

$ chmod +x ./bin/*.sh

Set environment variables (for development only)

$ source bin/environment.sh

Build Docker image

$ bin/build-docker.sh -d

Start Docker image

$ bin/start-docker.sh -d

Once it starts up the IP address and port will be displayed. Opening a browser to the address will connect you sto the DJango server.