Remove unnecessary docs
This commit is contained in:
parent
e5f9543a55
commit
9ef9420f8b
1 changed files with 0 additions and 60 deletions
60
README.md
60
README.md
|
@ -17,63 +17,3 @@ Table of contents
|
||||||
|
|
||||||
* [Overview](#partynest)
|
* [Overview](#partynest)
|
||||||
* [Table of contents](#table-of-contents)
|
* [Table of contents](#table-of-contents)
|
||||||
* [Deploy](#deploy)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Deploy
|
|
||||||
------
|
|
||||||
|
|
||||||
Tested with **Ubuntu Server 18.04 LTS**.
|
|
||||||
|
|
||||||
### System packages
|
|
||||||
|
|
||||||
* `build-essential`
|
|
||||||
* `gnupg2`
|
|
||||||
* `liblzma-dev`
|
|
||||||
* `libpq-dev`
|
|
||||||
* `patch`
|
|
||||||
* `zlib1g-dev`
|
|
||||||
|
|
||||||
### Ruby installation
|
|
||||||
|
|
||||||
Install [Ruby](https://www.ruby-lang.org) system-wide
|
|
||||||
with [RVM](https://rvm.io):
|
|
||||||
|
|
||||||
```
|
|
||||||
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
|
|
||||||
\curl -sSL https://get.rvm.io | sudo bash -s stable
|
|
||||||
```
|
|
||||||
|
|
||||||
Replace `user` with the name of your current user:
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo usermod -a -G rvm user
|
|
||||||
```
|
|
||||||
|
|
||||||
Log out from system, then log in again. Install Ruby and Bundler:
|
|
||||||
|
|
||||||
```
|
|
||||||
rvm install ruby-2.6.2
|
|
||||||
rvm use ruby-2.6.2
|
|
||||||
gem install bundler
|
|
||||||
```
|
|
||||||
|
|
||||||
### Node.js and Yarn installation
|
|
||||||
|
|
||||||
[Node.js](https://nodejs.org) will be installed from system packages
|
|
||||||
as [Yarn](https://yarnpkg.com) dependency:
|
|
||||||
|
|
||||||
```
|
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
|
||||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install yarn
|
|
||||||
```
|
|
||||||
|
|
||||||
### Steps
|
|
||||||
|
|
||||||
* Create directory `/opt/partynest/` writable by deploy user
|
|
||||||
* Copy file `config/master.key` to `/opt/partynest/shared/config/`
|
|
||||||
* Create PostgreSQL role `partynest` with password `password`
|
|
||||||
* Create PostgreSQL database `partynest_production` owned by `partynest`
|
|
||||||
|
|
Reference in a new issue