Sha256: fd25e3ed04e0e5ffa024bc988a0d768722bf674c00a6f60aa9baac58ee866a6c

Contents?: true

Size: 1.85 KB

Versions: 192

Compression:

Stored size: 1.85 KB

Contents

# SmartCloud
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 Runner.
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 runner grid:
```
$ smartcloud grids runner up
```

## TODO - Creating New App
1. Creating a new bare app on the server:
```
$ smartcloud apps create <USERNAME> <APPNAME>
```

Version data entries

192 entries across 192 versions & 1 rubygems

Version Path
smartcloud-0.2.0.beta2 README.md
smartcloud-0.2.0.beta1 README.md
smartcloud-0.1.0 README.md
smartcloud-0.1.0.rc4 README.md
smartcloud-0.1.0.rc3 README.md
smartcloud-0.1.0.rc2 README.md
smartcloud-0.1.0.rc1 README.md
smartcloud-0.1.0.beta5 README.md
smartcloud-0.1.0.beta4 README.md
smartcloud-0.1.0.beta3 README.md
smartcloud-0.1.0.beta2 README.md
smartcloud-0.1.0.beta1 README.md
smartcloud-0.0.210 README.md
smartcloud-0.0.209 README.md
smartcloud-0.0.208 README.md
smartcloud-0.0.207 README.md
smartcloud-0.0.206 README.md
smartcloud-0.0.205 README.md
smartcloud-0.0.204 README.md
smartcloud-0.0.203 README.md