Página web para el manejo del evento conexión tec.
- Client Details
- Environment URLS
- The Team
- Management resources
- Development
- Setup the project for development
- Stop the project
- Debugging
- Running tests
- Checking code for potential issues
Name | Role | |
---|---|---|
Juan M. Hinojosa Olivares | [email protected] | Profesor de planta |
- Production - localhost:5000
- Development - https://aqueous-beyond-94616.herokuapp.com/
Gucci Gang - AGO - DIC 2018
Name | Role | |
---|---|---|
José Luis Carvajal Carbajal | [email protected] | Development |
Daniel González González | [email protected] | Development |
Jorge Andrés González Borboa | [email protected] | Development |
Andrés Sosa Silva | [email protected] | Development |
Jorge Armando Vázquez Ortiz | [email protected] | Development |
Codebusters - ENE - MAY 2019
Name | Role | |
---|---|---|
Abril Marina González Ramírez | [email protected] | Development |
Juan Luis Flores Garza | [email protected] | Development |
José Humberto Guevara Martínez | [email protected] | Development |
Luis Alfonso Arriaga Quezada | [email protected] | Development |
Santiago Sandoval Treviño | [email protected] | Development |
Ruby O's - AGO - DIC 2019
Name | Role | |
---|---|---|
José Eduardo Sánchez Yépiz | [email protected] | Development |
Javier De la Garza Solís | [email protected] | Development |
Jose Antonio Domene Reyes | [email protected] | Development |
Juan Carlos Gonzalez Petrocchi | [email protected] | Development |
ConectaTec - FEB - JUN 2020
Name | Role | |
---|---|---|
Carlos Fernando Garza Martínez | [email protected] | Development |
Ana Jimena Lomelí Cantú | [email protected] | Development |
Renata Saldívar González | [email protected] | Development |
You should ask for access to this tools if you don't have it already:
- Github repo
- Backlog - Check Project inside this repository.
- Heroku
- Documentation
Before setting up the project, you sould have installed the following development tools:
- Git
- Docker
- Docker Compose
- Plis (optional, but highly recommended)
Once you have installed the required third-party software, you can follow this steps:
-
Clone the project repository on your local machine
SSH:
$ git clone [email protected]:ProyectoIntegrador2018/conexion_tec.git
or HTTPS:
$ git clone https://github.com/ProyectoIntegrador2018/conexion_tec.git
-
Create the Docker image:
plis
:$ plis build
docker-compose
:$ docker-compose build
In your terminal, run:
plis
$ plis start web
docker-compose
$ docker-compose up
If the service is already running, you can run the command plis attach frontend-web
to attach current service's logs.
NOTE: You can allways run plis run frontend-web bash
or docker-compose run frontend-web bash
commands to enter the container's console.
NOTE: If you have trouble with the connection between the rails application and the database, try turning up the database container and the web container in different terminal window: plis start mysql
or docker-compose up mysql
, and plis start web
or docker-compose up web
.
In your terminal, run:
docker-compose
$ docker-compose run web bash
Create the database:
$ rails db:create
Run the migrations:
$ rails db:migrate
If you want to use the rails console to interact with the models of the application, run:
$ rails db:console
In order to stop web
entirely you can run:
plis
:
$ plis stop
docker-compose
:
$ docker-compose stop
If you want to stop the services and remove the containers:
plis
:
$ plis down
docker-compose
:
$ docker-compose down
If you only want to stop one service in particular, you can specify it with the following command:
plis
:
$ plis stop [service_name]
docker-compose
:
$ docker-compose stop [service_name]
To run specs, you can do:
plis
:
$ plis run test rspec
docker-compose
:
$ docker-compose run test rspec
Or for a specific file:
plis
:
$ plis run test rspec spec/models/user_spec.rb
docker-compose
:
$ docker-compose run test rspec spec/models/user_spec.rb
Currently we have 27 test ranging from unit test to integration test. We would like to increase the test coverate in the app as we believe that testing should be done automatically instead of doing it by hand.
The project is currently deployed on Heroku. To make a deployment push your changes to master
branch. Deployments are configured to be done automatically when changes are detected on the branch.