Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/konnorrogers/ems_helper
A Rails app designed to help people find the nearest cath lab, trauma center, etc
https://github.com/konnorrogers/ems_helper
Last synced: 27 days ago
JSON representation
A Rails app designed to help people find the nearest cath lab, trauma center, etc
- Host: GitHub
- URL: https://github.com/konnorrogers/ems_helper
- Owner: KonnorRogers
- Created: 2019-11-24T05:46:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T16:05:51.000Z (almost 2 years ago)
- Last Synced: 2024-10-05T12:01:13.516Z (about 1 month ago)
- Language: Ruby
- Size: 1.29 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Purpose
To be able to find the closest hospital based on a given location and the required
needs of the individual.## Prerequisites
Ruby 2.6.3
PostgresQL
Rails 6.0.1## Getting started
### Local Development
```bash
git clone https://github.com/paramagicDev/ems_helper
cd ems_helper
touch .env
echo "PG_HOST=''" >> .env
echo "PG_USER=''" >> .env
echo "PG_PASSWORD=''" >> .env
gem install bundler
bundle install
rails yarn:installrails server
```### Using docker-compose
```bash
# Install docker-compose
git clone https://github.com/paramagicDev/ems_helper
cd ems_helper
docker-compose up --build
docker-compose run web rails db:setup
```Then you can open `localhost:3000` to view the server
### Updating Gems
If you are updating a gem, you cannot simply rebuild the container. Instead,
you must run bundle install on the container.```bash
docker-compose run web bundle install
docker-compose down
docker-compose up
```### Rebuilding the container
If you make changes to either to `Dockerfile` or `docker-compose.yml` you must update
the container.```bash
docker-compose down
docker-compose up --build
```