To be able to find the closest hospital based on a given location and the required needs of the individual.
Ruby 2.6.3 PostgresQL Rails 6.0.1
git clone https://github.com/paramagicDev/ems_helper
cd ems_helper
touch .env
echo "PG_HOST=''" >> .env
echo "PG_USER='<USER>'" >> .env
echo "PG_PASSWORD='<PASSWORD>'" >> .env
gem install bundler
bundle install
rails yarn:install
rails server
# 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
If you are updating a gem, you cannot simply rebuild the container. Instead, you must run bundle install on the container.
docker-compose run web bundle install
docker-compose down
docker-compose up
If you make changes to either to Dockerfile
or docker-compose.yml
you must update
the container.
docker-compose down
docker-compose up --build