This is starting point to create a fast web app using Sinatra. I didn't had the experience to create apps with ruby, so I tried to create this one to improve myself.
- Ruby 2.6.3
- Sinatra;
- Puma;
- ActiveRecord;
- Rake;
- Rubocop;
- Rspec;
- PostgreSQL;
- Docker;
- CircleCI;
graph LR
data[Puma] --> first_process[Sinatra Process]
data --> second_process[Sinatra Process]
first_process --> database[PostgreSQL]
second_process --> database
- Clone it
- Remove .git folder
rm -rf .git
- Start the repository
git init
- Add origin remote:
git remote add https://new_repository.git
git add .
and thengit push origin master
docker-compose run web rake db:setup db:migrate docker-compose up
docker-compose run -e APP_ENV=test web rake db:setup db:migrate docker-compose run -e APP_ENV=test web rspec