1
0
Fork 0

Add deploy instructions

This commit is contained in:
Alex Kotov 2018-12-06 01:31:14 +05:00
parent e69236bd61
commit 932580dd35
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
1 changed files with 29 additions and 0 deletions

View File

@ -13,3 +13,32 @@ Table of contents
* [Overview](#partynest)
* [Table of contents](#table-of-contents)
* [Deploy](#deploy)
Deploy
------
Tested with **Ubuntu Server 18.04 LTS**.
### System packages
* `build-essential`
* `bundler`
* `liblzma-dev`
* `libpq-dev`
* `nodejs`
* `npm`
* `patch`
* `ruby`
* `ruby-dev`
* `rubygems-integration`
* `zlib1g-dev`
### Steps
* Create directory `/var/www/partynest/` writable by deploy user
* Copy file `config/master.key` to `/var/www/partynest/shared/config/`
* Create PostgreSQL role `partynest` with password `password`
* Create PostgreSQL database `partynest_production` owned by `partynest`