Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/portalsuperacao/superacao-core
Aplicação core de gestão do programa "Anjos do Superação"
https://github.com/portalsuperacao/superacao-core
brazil cancer cancer-patients docker heroku non-profit rails5
Last synced: 24 days ago
JSON representation
Aplicação core de gestão do programa "Anjos do Superação"
- Host: GitHub
- URL: https://github.com/portalsuperacao/superacao-core
- Owner: portalsuperacao
- License: gpl-3.0
- Created: 2017-02-02T18:31:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T21:42:50.000Z (over 7 years ago)
- Last Synced: 2024-11-20T14:50:40.216Z (about 1 month ago)
- Topics: brazil, cancer, cancer-patients, docker, heroku, non-profit, rails5
- Language: CSS
- Homepage: http://www.portalsuperacao.org.br
- Size: 826 KB
- Stars: 10
- Watchers: 8
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Superação Core
This application handles the core elements of the methodology created by the Portal Superação, which provides psychological support to cancer patients during their cancer treatment.
It handles the matching, management of **overcomer** (patient) with his/her **angel** (supporter) and support tickets to scale the platform in a self-managed way.
# Documentation
This project is using [swagger](http://swagger.io) for API documentation. The API uses [json-api](http://jsonapi.org/) standards, but the entities defined in the swagger does not reflect the json-api structure.
To access documentation, accesse **swagger-ui** at `http://localhost:4444` and load the swagger schema file at `http://localhost:3000/swagger`
# Environments
## Dev
### Init
Run `./init_dev.sh` to initialize the environment before building the docker images.
### Google Cloud Platform
#### Service: Storage
It's been used to upload images and make it available to the Firebase mobile app client. The same bucket is shared by Firebase and Google Cloud.
Create your account and place the keys in `commons.env` file. ( copy and rename template at commons.sample.env)
### Docker
```
$ docker-compose build
$ docker-compose up -d
$ docker exec -it bash # to get container bash
```### Rails init
```
$ docker exec -it bash
$ rake db:migrate
$ rake db:seed
```### Issues
Workaround for running `guard`:
```
bundle_path=$(which bundle)
sed -i -e "s/activate_bin_path/bin_path/g" $bundle_path
```# Team members
- [FIAP University](https://www.fiap.com.br) for supporting the development of mobile app
- Gabriela Besser - Founder, product design, UI/UX
- Michel Bottan - [@abmxer](http://github.com/abmxer)# Thanks to all contributors
- Andreza Medeiros - [@andrezacm](http://github.com/andrezacm)
- Victor Presumido - [@victorpre](http://github.com/victorpre)# License
GNU GPL v3.0