Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description



Remember to enable hbase on your postgres template ::

psql -d template1 -c 'create extension hstore;'

dokku Setup

on server

install plugins ::

sudo dokku plugin:install postres
sudo dokku plugin:install rabbitmq
sudo dokku plugin:install

create app ::

dokku apps:create gopherairtime-clientname

create db ::

dokku postgres:create gopherairtime-clientname-db
dokku postgres:connect gopherairtime-clientname-db

set up rabbitmq for workers ::

dokku rabbitmq:create gopherairtime-clientname-rabbitmq

set up enviroment variables ::

dokku config:set gopherairtime-clientname

link the apps together ::

dokku postgres:link gopherairtime-clientname-db gopherairtime-clientname
dokku rabbitmq:link gopherairtime-clientname-rabbitmq gopherairtime-clientname

deploy app with git push locally then ::

dokku run gopherairtime-clientname python migrate
dokku run gopherairtime-clientname python createsuperuser

local ::
git remote add production
git push production master

optional slack notifications ::

dokku slack:set gopherairtime-clientname slackwebhook

The DOKKU_SCALE contains the trigger for how many processes to run for each aspect of the system. This app currently has one web, one worker and one worker beat.

Docker Pull Command
Source Repository