Skip to content

m4rcelotoledo/deals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEALS

Coverage Ruby Build

About this project

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

Technical Information and Dependencies

* 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

To use

Clone the project:

git clone git@github.com:m4rcelotoledo/deals.git
cd deals

With Docker (better option)

script/setup    # => development bootstrap, preparing containers
script/server   # => starts server
script/console  # => starts console
script/test     # => running tests

Running without Docker (not recommended!)

If you prefer, you'll need to update config/database.yml:

# host: db        # when using docker
host: localhost   # when using localhost

System dependencies

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 tests

To run app

To 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.

Dockerfile

Dockerfile is here

Deploy to Heroku

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

Pending actions

  • Fix pending scenarios
  • Connection with Pipedrive API
  • Set a layout using Bootstrap
  • Set the following gems:
    • Pundit
    • Kaminari

About

Manage deals

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •