This project proposes to enable the user to control and follow up on their commercial goals, defined for each of their clients.
To run on Heroku, access here
* The Ruby language # version 3.4.6
* The Rails gem # version 8.0.2
* Capybara: # version 3.40
* RSpec-Rails # version 8.0.1
* Rubocop # version 1.77.0
* PostgreSQL # version 17
* Docker # version 28.2.2
* Docker Compose # version 2.37.1
Clone the project:
git clone git@github.com:m4rcelotoledo/deals.git
cd dealsscript/setup # => development bootstrap, preparing containers
script/server # => starts server
script/console # => starts console
script/test # => running testsIf you prefer, you'll need to update config/database.yml:
# host: db # when using docker
host: localhost # when using localhostSystem dependencies
- Install and configure the database: Postgresql-17
And then:
gem install bundler # => install the last Bundler version
bundle install # => install the project's gems
rails webpacker:install # => configure webpacker
rails db:setup db:migrate # => prepare the database
rails s # => starts server
rails c # => starts console
bundle exec rspec # => to running testsTo see the application in action, starts the rails server to able http://localhost:3000/
You should see a home page with a "log in" or "sign up" form.
- Make a free account on Heroku
- Install HerokuCli
- To run on Heroku, access here
From the Command Line, and in the project folder:
heroku login
heroku apps:create mydeals
heroku run gem install bundler
git push heroku master
heroku run rake db:migrate
heroku open- Fix pending scenarios
- Connection with Pipedrive API
- Set a layout using Bootstrap
- Set the following gems:
- Pundit
- Kaminari