This project has the purpose of learning new skills. The project was developed following the lessons of bootcamp OneBitCode, with exception of some features that was developed for to conclude the challenges proposed.
To build this project. Make sure you have the Docker installed on your machine.
git clone https://github.com/rands0n/onebitbot.git && cd onebitbot
To build using Docker, run:
docker-compose build && docker-compose run --rm app bundle install
And to open up the app, run:
docker-compose up
To create our database, use rails db:create
. After that you can migrate all the tables availables with rails db:migrate
To create the database inside docker:
docker-compose run --rm app rake db:create
And running all the migrations inside docker:
docker-compose run --rm app rake db:migrate
To run our tests, simply put the rspec
command on terminal.