Web platform used to review and display in an elegant form the contributions done to a Github repository.
- Client Details
- Environment URLS
- The Team
- Management resources
- Development
- Setup the project for development
- Stop the project
- Developer Settings
- Debugging
- Running tests
- Checking code for potential issues
Name | Role | |
---|---|---|
Abraham Kuri Vargas | [email protected] | Profesor |
- Production - Site
- Development - localhost:3000
Argentum - ENE - MAY 2019
Name | Role | |
---|---|---|
Oscar Michel Herrera | [email protected] | Development |
Edgar Daniel Bustillos Rivera | [email protected] | Development |
Daniel Zavala Salazar | [email protected] | Scrum Master |
Miguel Angel Alvarado López | [email protected] | Product Owner |
You should ask for access to this tools if you don't have it already:
- Github repo
- Backlog - Check Project inside this repository.
- Design - Check screens on Figma
- Heroku
- Documentation
- Install Ruby 2.6.1 with DevKit from https://rubyinstaller.org/downloads/
- Install PostgreSQL version <= 10 from https://www.postgresql.org/download/windows/
- On Cmd or PowerShell
gem install rails -v 5.2.2.1
- RVM
$ curl -sSL https://get.rvm.io | bash -s stable
- Ruby – Version 2.6.1
$ rvm use ruby-2.6.1 --default
- Rails – Version 5.2.2.1
$ gem install rails -v 5.2.2.1
We will use the basic tools that come with rails. (rails server, test, and coonsole).
- Clone this repository into your local machine
$ git clone https://github.com/OscarMichelH/repo-io.git
- Install dependencies:
$ bundle install
- Setup the database:
$ rails db:drop
$ rails db:create
$ rails db:migrate
$ rails db:seed
If you are using a Mac for development with stardard configuration, first run these commands:
$ sudo mkdir /var/pgsql_socket/
$ sudo ln -s /private/tmp/.s.PGSQL.5432 /var/pgsql_socket/
Note: If it is your first time running Rails + PostgreSQL, first create the database with rails db:create
- Start the application:
$ rails s
Once you see an output like this:
=> Booting Puma
=> Rails 5.2.2.1 application starting in development
=> Run `rails server -h` for more startup options
*** SIGUSR2 not implemented, signal based restart unavailable!
*** SIGUSR1 not implemented, signal based restart unavailable!
*** SIGHUP not implemented, signal based logs reopening unavailable!
Puma starting in single mode...
* Version 3.12.0 (ruby 2.6.1-p33), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
This means the project is up and running.
In order to stop the project just hit Ctrl-C on the terminal where rails server is running.
Execute
bundle exec figaro install
This will generate the file config/application.yml
- Add here secret keys
To run all tests, you can do:
$ rspec