the Chatbot FAQ of questions and answers
- DialogFlow
- Telegram API
- Webhook
- Sinatra
- Rspec
You must have installed on your machine:
- Docker
- Docker Compose
Follow the instructions to have a project present and able to run it locally. After copying the repository to your machine, go to the project's root site and:
- Construct the container
docker-compose build
- Create of Database
docker-compose run --rm app rake db:create
- Up the project
docker-compose up
- Without turning off the server, open a new window and run the migrations
docker-compose run --rm app rake db:migrate
To run the tests, you must run the docker container through the command:
docker-compose run --rm app rspec