git ssb

3+

andrestaltz / easy-ssb-pub



Commit 13cfbc0950b2f01cf961530f12a3cc3959a35d98

Improve default advice for deploying

Andre Staltz committed on 2/23/2017, 1:49:13 PM
Parent: 87ec85874fbadaeb74527819de4509edb9c3b662

Files changed

README.mdchanged
README.mdView
@@ -19,15 +19,8 @@
1919 ## How to deploy
2020
2121 You will need a server that supports a TCP socket over port 80. This means [Heroku](https://heroku.com/) or [Zeit Now](https://zeit.co/now) will *not* work. Recommended services for servers-on-demand: [Digital Ocean Docker Droplet](https://www.digitalocean.com/products/one-click-apps/docker/), [UpCloud](https://upcloud.com/), [Amazon LightSail](https://amazonlightsail.com/), [Vultr](https://vultr.com/), [Linode](https://www.linode.com), etc.
2222
23-1. Acess your server via shell (e.g. SSH)
24-2. `git clone https://github.com/staltz/easy-ssb-pub.git`
25-3. `cd easy-ssb-pub`
26-4. `PUB_URL=publicurltoyourserv.er docker-compose up -d`
27-
28-### OR
29-
3023 1. Access your server via shell (e.g. SSH)
3124 2. `docker pull staltz/easy-ssb-pub`
3225 3. `docker run -e "PUB_URL=publicurltoyourserv.er" -p 80:80 -m 450M --memory-swap 1G --restart=unless-stopped --name ssb-pub -d staltz/easy-ssb-pub`
3326
@@ -40,8 +33,15 @@
4033 _`docker run` creates a new container (and server key) each time. This prevents existing contacts from successfully completing the handshake._
4134
4235 ### OR
4336
37 +1. Acess your server via shell (e.g. SSH)
38 +2. `git clone https://github.com/staltz/easy-ssb-pub.git`
39 +3. `cd easy-ssb-pub`
40 +4. `PUB_URL=publicurltoyourserv.er docker-compose up -d`
41 +
42 +### OR
43 +
4444 1. Access your server via shell (e.g. SSH)
4545 2. `apt-get install -y libleveldb-dev curl libc6 libcurl3 zlib1g libtool autoconf`
4646 3. Install nvm: `curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash`
4747 4. Restart the shell

Built with git-ssb-web