Commit 6457bcc8 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Add install script

parent 8019c46b
#!/bin/sh
dd if=/dev/random bs=64 count=1 | base64 > .secret.key
#!/bin/bash
echo 'generating secret'
dd if=/dev/urandom bs=64 count=1 | base64 > .secret.key
mkdir -p logs
virtualenv -p /usr/bin/python3.5 ./env
source env/bin/activate
pip install Django django-cors-headers django-mysql django-polymorphic django-rest-polymorphic djangorestframework oic urllib3 mysqlclient pika
./manage.py makemigrations backend
./manage.py migrate
echo creating django super user
./manage.py createsuperuser
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment