2. Expose docker to access over network
3. From your machine: $
ssh root@ip-address-of-your-server
4. $chmod 777 setup-script.sh
$sh setup-script.sh
5. git clone git@github.com:grounds/grounds.io.git
6. cd grounds.io
7. make pull
8. In ~/.profile add export DOCKER_URL=http://ip-address-of-your-server:4243
9. chmod -R 777 grounds.io
10. Edit fig.yml:
web:
build: .
command: rake run
ports:
- '80:3000'
11. Run the Rails app:
RAILS_ENV=production SECRET_KEY_BASE="your secret key generated using rake secret" fig up -d
See it in action at www.rubyplus.biz