... | ... | @@ -8,35 +8,29 @@ Create a new frab instance: |
|
|
|
|
|
dokku create dbp2016_live
|
|
|
|
|
|
Needs confirmation: Deploy it via git. On your local repository and if you want to deploy the master branch, do:
|
|
|
Setup the git upstream:
|
|
|
|
|
|
git remote add live dokku@apps.ecobytes.net:dbp2016_live
|
|
|
git push live master:master
|
|
|
|
|
|
Note, this failed on my first attempt:
|
|
|
Paste the default environment for the platform, e.g.:
|
|
|
|
|
|
dokku "dokku config:set dbp2016_live `paste -d " " -s .env.live`"
|
|
|
|
|
|
ERROR: Failed to build gem native extension.
|
|
|
|
|
|
/tmp/build/vendor/ruby-2.2.3/bin/ruby -r ./siteconf20151127-211-1rqprkw.rb extconf.rb
|
|
|
checking for sqlite3.h... no
|
|
|
sqlite3.h is missing. Try 'port install sqlite3 +universal',
|
|
|
'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
|
|
|
and check your shared library search path (the
|
|
|
location where your sqlite3 shared library is located).
|
|
|
*** extconf.rb failed ***
|
|
|
Could not create Makefile due to some reason, probably lack of necessary
|
|
|
libraries and/or headers. Check the mkmf.log file for more details. You may
|
|
|
need configuration options.
|
|
|
Deploy it via git. From your local repository, and if you want to deploy the master branch, do:
|
|
|
|
|
|
git push live master:master
|
|
|
|
|
|
Setup the instance:
|
|
|
Further setup the instance:
|
|
|
|
|
|
```
|
|
|
dokku domains:set dbp2016_live scriptum.degrowth.net,scriptum.degrowth.community,dbp2016_live.apps.ecobytes.net
|
|
|
dokku ssh:selfsigned
|
|
|
dokku logs dbp2016_live
|
|
|
dokku ssl:selfsigned dbp2016_live
|
|
|
```
|
|
|
|
|
|
And this one for enabling logs (fails on live, due to missing sqlite3)?
|
|
|
|
|
|
dokku logs dbp2016_live
|
|
|
|
|
|
### Granting git client access
|
|
|
|
|
|
Granting a git client access to the application is exemplified for three different roles below.
|
... | ... | |