Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fblupi/echaequipos-backend
EchaEquipos backend: API and admin panel build with Rails
https://github.com/fblupi/echaequipos-backend
api backend coveralls hacktoberfest mysql rails rspec travis-ci unit-test
Last synced: 9 days ago
JSON representation
EchaEquipos backend: API and admin panel build with Rails
- Host: GitHub
- URL: https://github.com/fblupi/echaequipos-backend
- Owner: fblupi
- License: gpl-3.0
- Created: 2018-08-04T09:18:23.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-03-08T19:51:35.000Z (almost 2 years ago)
- Last Synced: 2024-12-03T16:47:16.812Z (2 months ago)
- Topics: api, backend, coveralls, hacktoberfest, mysql, rails, rspec, travis-ci, unit-test
- Language: Ruby
- Homepage:
- Size: 211 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# echaequipos-backend
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Build Status](https://travis-ci.com/fblupi/echaequipos-backend.svg?branch=develop)](https://travis-ci.com/fblupi/echaequipos-backend)
[![Coverage Status](https://coveralls.io/repos/github/fblupi/echaequipos-backend/badge.svg)](https://coveralls.io/github/fblupi/echaequipos-backend)EchaEquipos backend: API and admin panel build with Rails
## Running the application with Docker
### Setup
After [installing Docker](https://docs.docker.com/get-docker/), just run the commands below:
```bash
docker-compose build
docker-compose up -d
```Then, open a console from the container and create the database:
```bash
docker exec -it echaequipos-backend_web_1 /bin/bash
rake db:create
rake db:migrate
rake db:seed
```### Start and restart the application
```bash
docker-compose up
```You can add th `-d` option to run in background
### Stop the application
```bash
docker-compose down
```### Rebuild the application
Some changes require just `docker-compose up --build`, but a full rebuild require:
```bash
docker-compose run web bundle install
docker-compose up --build
```### Tests
Just run the command below to run the unit tests:
```bash
rspec
```