Sha256: 31ff6ce9d5ae67d5b8ef94fc4c4ede17ba9ed1760da88e31859cc3a510e2f252
Contents?: true
Size: 1.89 KB
Versions: 14
Compression:
Stored size: 1.89 KB
Contents
# SmartCloud Git push should deploy. Smartcloud is a full-stack deployment framework for Rails optimized for programmer happiness and peaceful administration. It encourages natural simplicity by favoring convention over configuration. Deploy your Rails apps to your own server with - git push production master ## How it Works After you run the below commands, you get. 1. Setup of basic best practices of setting up and securing a VPS server. 2. Setup and installation of Docker. 3. Setup and installation of docker based Mysql, Solr, Nginx, App Prereceiver. 4. Deployment of your Rails apps to your own server with - git push production master ## Setup a New Machine - Ubuntu 18.04 LTS 1. Getting Started with Linode: ``` https://www.linode.com/docs/getting-started/ ``` 2. How to Secure Your Server: ``` https://www.linode.com/docs/security/securing-your-server/ ``` ## Install SmartCloud 1. Install Ruby: ``` $ sudo apt-get install ruby-full ``` 2. Add gem executables to PATH (remember to check ruby version in the path): ``` $ echo 'export PATH="$PATH:$HOME/.gem/ruby/2.5.0/bin"' >> ~/.bashrc && source ~/.bashrc ``` 3. Install smartcloud for current user: ``` $ gem install smartcloud --user-install ``` 4. Initialize smartcloud: ``` $ smartcloud init ``` <!-- ## TODO - Setup Machine 1. Getting Started and Securing your Server: ``` $ smartcloud machine install ``` --> ## Install Docker 1. Run docker install command: ``` $ smartcloud docker install ``` 2. Add UFW rules for Docker as specified at the end of installation. ## Starting Grids as per Choice 1. Start mysql grid: ``` $ smartcloud grids mysql up ``` 2. Start solr grid: ``` $ smartcloud grids solr up ``` 3. Start nginx grid: ``` $ smartcloud grids nginx up ``` 4. Start prereceiver grid: ``` $ smartcloud grids prereceiver up ``` ## TODO - Creating New App 1. Creating a new bare app on the server: ``` $ smartcloud apps create <USERNAME> <APPNAME> ```
Version data entries
14 entries across 14 versions & 1 rubygems