Skip to content

Code for app hosted on https://potres.herokuapp.com used for helping people in need during the earthquake crisis in Croatia

Notifications You must be signed in to change notification settings

shime/earthquake-croatia

 
 

Repository files navigation

Potres-app

How to contribute

If you want to contribute, please check out our issues tab, see if anything is approved and comment on that issue so we know someone is working on it. If you have a recommendation - please raise a new issue, tag it accordingly with enhancment and bug labels.

Things to keep in mind

We need the UI to be responsive since this app is heavily used on mobile phones.

Environment setup

Install Ruby

# Install gnupg
brew install gnupg

# Add rvm gpg key
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB

# Pull latest rvm
\curl -sSL https://get.rvm.io | bash -s stable --ruby

# Install ruby 2.7.1
rvm install ruby-2.7.1

# Activate environment
source /Users/bvunder/.rvm/scripts/rvm

Install dependencies

# On OSX install postgres and run server
brew install postgresql
brew services start postgresql

# Install dependencies
bundle install

# Initialize and migrate database
rails db:create
rails db:migrate

# Install webpack
rails webpacker:install

Run server locally

rails s

About

Code for app hosted on https://potres.herokuapp.com used for helping people in need during the earthquake crisis in Croatia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 68.9%
  • HTML 21.7%
  • JavaScript 7.8%
  • CSS 1.3%
  • SCSS 0.3%