Before, we used a CLI that provided these actions:
* awesim setup
* awesim update
* awesim restart
* awesim permission
* awesim maintenance on/off
#### Setup
1. Clone an existing app to ~/awesim/share/appdir (via terminal or 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)
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
* TODO: does the web ui guide you through this process?
#### Update
- bundle install
- build assets
- touch tmp/restart.txt
You can do this through the web interface:
* TODO
Or you can do this via the command line by running this bash script: