-
Notifications
You must be signed in to change notification settings - Fork 2
Server Details
nestor.pingdynasty.com http://hoxtonowl.com
OwlServer master checked out to /var/www/hoxtonowl.com/subdomains/www/OwlServer
Deployed to e.g. /var/www/hoxtonowl.com/subdomains/www/httpdocs/wp-content/themes/hoxton-owl-2014
Deployment script /var/www/hoxtonowl.com/subdomains/www/deployment/deploy-website.sh and /srv/owl/deployment/deploy-api.sh
Database files in /var/lib/mysql/ and /var/lib/mongodb.
Startup scripts:
/etc/init.d/mysql
/etc/init.d/mongod
/etc/init.d/owl-api
/etc/init.d/apache2
API available on http://hoxtonowl.com:3000/, routed through apache on http://hoxtonowl.com/api/.
API documentation: https://github.com/pingdynasty/OwlServer/tree/master/web/api
ulrike.pingdynasty.com https://staging.hoxtonowl.com
Deploy with
sudo bash /var/www/hoxtonowl.com/staging/deployment/deploy-website.
sh
sudo bash /srv/owl/deployment/deploy-api.sh
Restart with:
sudo service owl-api restart
sudo service apache2 restart
Deployed to /var/www/hoxtonowl.com/staging and/or /srv/owl/
API Node.JS logs are in
/var/log/owl-api.log
/var/log/owl-api.err
or in
/var/log/daemon.log
and/or
/var/log/syslog
and
/var/www/hoxtonowl.com/subdomains/www/logs/error.log
/var/www/hoxtonowl.com/subdomains/www/logs/access.log
To update:
$ cd /home/psylocibe/letsencrypt$ ./letsencrypt-auto- Enter your sudo password when requested.
- An ncurses-based interface pops up. Unselect all domains apart from
www.hoxtonowl.comandhoxtonowl.com. - Press enter.
Remember that letsencrypt's certificates expire every 90 days, so put the next expiry date in your diary.
Note: letsencrypt is in my home directory, but it is basically a git repository with python scripts in it. Feel free to move it around or to clone the repo somewhere else.
To obtain a new or tweaked version of this certificate in the future, run ./letsencrypt-auto certonly