@@ -49,11 +49,12 @@ Before, we used a CLI that provided the actions below. For AweSim on Open OnDema
#### Setup
1. Git clone an existing app to `~/awesim/share/<appdir>` (via terminal or dashboard web ui)
2. Create and version a `.env.production` (follow pattern in Rails Application Template or this file: https://github.com/AweSim-OSC/containerfillsim/blob/22e3cbd2163ee2cf0f11266020a461d602eb3320/.env.production)
After cloning an app, we would previously run `awesim setup`. Instead we will:
1. Create and version a `.env.production` (follow pattern in Rails Application Template or this file: https://github.com/AweSim-OSC/containerfillsim/blob/22e3cbd2163ee2cf0f11266020a461d602eb3320/.env.production)
1. replace the secret with a unique string generated via the rake task (bin/rake secret)
3. Copy https://github.com/AweSim-OSC/rails-application-template/blob/8513c9b6ba9216fc7fe495d144d5162b996109eb/assets/setup-production to `bin/setup-production` and chmod 755 the file
4. Run the update commands below
2. Copy https://github.com/AweSim-OSC/rails-application-template/blob/8513c9b6ba9216fc7fe495d144d5162b996109eb/assets/setup-production to `bin/setup-production` and chmod 755 the file