Skip to content

toschas/pronto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRONTO

Couple of scripts for easy (Rails + Puma + Nginx) server setup.


Usage

Installing dependencies

Clone the repo to you home directory:

git clone https://github.com/toschaslabs/pronto ~/pronto

Make the script executable by running:

cd ~/pronto
chmod +x ./install.sh

Finally, run the installation script:

./install.sh

Assumptions

Before running the application setup script, you should be aware of some assumptions that app_setup.rb script makes:

  • you are deploying Rails API application and separate client application;

  • you are using Capistrano for deploying Rails application;

  • you are planning to use upstart jungle-tools for managing Puma.

Running the setup script

cd ~/pronto
ruby app_setup.rb

Details

install.sh contains commands for:

  • updating Ubuntu system dependencies (apt-get update);

  • installing other necessary libraries (see installing dependencies in install.sh);

  • installing PostgreSQL server;

  • installing rbenv;

  • installing various rbenv plugins:

  • installing Ruby v2.2.1 (for general purpose);

  • removing default Nginx config from /etc/nginx/sites-enabled/;

  • downloading Puma upstart jungle-tools.


License

Pronto is free software, and may be redistributed under the terms specified in the LICENSE file.

About

Painless server setup for deploying Ruby on Rails app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published