Commit Graph

28 Commits

Author SHA1 Message Date
Girish Ramakrishnan b08b0a5494 Change cert generation dir 2014-08-20 01:54:39 -07:00
Girish Ramakrishnan df63793c61 Change naming convention of files under cert/*.
Follow the naming convention as used in provisioning by appstore:

host.cert = public cert
host.info = textual output
host.key = private key
host.pem = key file and cert file combined into one
2014-08-20 01:35:56 -07:00
Girish Ramakrishnan f302062306 Move nginx cert dir to be under backup dir 2014-08-20 00:34:02 -07:00
Johannes Zellner 3b0326a69f Run npm install as user with HOME set for that user 2014-08-09 13:12:11 -07:00
Girish Ramakrishnan e6fa61f76a Template the admin and app config files with srcdir 2014-08-07 18:02:02 -07:00
Girish Ramakrishnan 6b6be410fd Change nginx prefix directory 2014-08-07 17:00:18 -07:00
Girish Ramakrishnan bfb1e584bf Copy mime.types to nginx configuration 2014-08-07 11:55:53 -07:00
Girish Ramakrishnan fa10e77def Do not start supervisor automatically
The bootstrap.sh script enables it after it's done configuring
supervisor
2014-08-07 11:53:02 -07:00
Girish Ramakrishnan de2cc8a905 Run npm install as yellowtent user 2014-08-07 11:31:17 -07:00
Girish Ramakrishnan 1c8cdc1f31 Move nginx files away from repo
Fixes #52
2014-08-07 06:22:12 -07:00
Girish Ramakrishnan f406f873d0 Alias ~/.yellowtent as BACKUP_DIR 2014-08-07 06:17:52 -07:00
Girish Ramakrishnan 09a7e6244b Rename BASEDIR to SRCDIR 2014-08-07 06:13:44 -07:00
Johannes Zellner 68372e9b3e Only log box* with debug() when deployed 2014-08-06 21:52:13 -07:00
Girish Ramakrishnan b6be2997f3 Fix logs
fixes #54
2014-08-06 19:35:34 -07:00
Girish Ramakrishnan 27a6eb69f3 Merge box stdout and stderr logs 2014-08-05 15:11:49 -07:00
Johannes Zellner dd619a258d Swap supervisor config file names 2014-08-04 23:28:35 -07:00
Johannes Zellner 19afa8f5f1 Remove any system provided supervisor configs 2014-08-04 22:23:24 -07:00
Johannes Zellner 15bd1c7eb3 Create nginx and box supervisor manifests during bootstrap
Previously we were linking the supervisor config
directory into /etc/supervisor and using template manifests,
which got changed during bootstrapping. In order to avoid
changing files in the git repository and more harder to
follow 'sed's the bootstrap.sh now simply creates those files
directly with appropriate values.
This also eliminates the yellowtent.json, as those values
are now passed via the process.env, set in the supervisor
manifest for the box
2014-08-04 21:50:38 -07:00
Johannes Zellner 80eb87069c Capture bootstrap script output in log file 2014-08-01 08:35:56 -07:00
Johannes Zellner 2b4d927b42 Make bootstrap script exectuable 2014-08-01 08:19:03 -07:00
Johannes Zellner e466a49e62 Cleanup node_modules on cloudron 2014-07-31 18:02:16 -07:00
Johannes Zellner a9b2020270 Ensure npm install succeeds 2014-07-31 17:48:30 -07:00
Johannes Zellner caccc3eaf5 explicitly use bash to execute the certificate script 2014-07-31 12:35:24 -07:00
Johannes Zellner 33a9721cdf Fixup the certificate generation 2014-07-31 12:33:14 -07:00
Johannes Zellner be384a6f03 Generate self signed certs based on hostname during bootstrap 2014-07-31 11:15:01 -07:00
Johannes Zellner e06227c52d Temporarily disable certificate retrieval from appstore 2014-07-31 10:09:15 -07:00
Johannes Zellner 696f95e0d7 move most settings from yellowtent.conf to the settingsdb 2014-07-31 09:31:28 -07:00
Johannes Zellner f92ca8bb03 Move bootstrap script to box
Instead of executing the bootstrap script via ssh,
we now run it once the box boots the first time.
It will update the repo and run the box code, which
needs to contact the appstore in order to get provisioned.
2014-07-31 08:16:35 -07:00