- git clone [email protected]:codelittinc/roadrunner-rails.git
- Install docker and docker-compose
- Add the .env content from 1Password to .env on the root folder of this project
- Inside the project folder run
sh bin/dev
- Inside the docker console run:
bundle exec rails db:create
bundle exec rails db:migrate
SEED_CREATE_PROJECTS=true SEED_CREATE_USERS=true bundle exec rails db:seed
bundle exec rails data:migrate
rails s -b `hostname -i`
- Go to your browser and access
http://localhost:3000
- Once inside your application on Heroku
- Click Resources, then click in Find more add-ons.
- Search for Heroku Scheduler and click on it.
- Add your application on the field App to provision to and then click on Provision add-on button.
- Inside the Heroku Scheduler now, you can add a job so, click on Add Job button
- Choose an interval to run this job
- Enter with the command to run the task. For example:
rake server:check_up_servers
- Save the job and it's done.
- You can also know about it here: Heroku Scheduler