/casalaremaus

Application to manage the "Casa Lar Emaus"

Primary LanguageRuby

Casa Lar Emaus

This project is used to manage projects, donations and volunteers of the NGO Casa Lar Emaus. As a visitor, you can see the organizations projects, volunteer, donate items or money. The manager of the NGO is able to access a dashboard to update the data that is shown to visitors and see the requests made in the application (related to projects or donations).

Getting started

  1. Make sure that you have git properly set up in your machine and you have access to Github
  2. Open the terminal and clone this project to your machine
git clone https://github.com/belisabettega/casalaremaus
  1. Install a package manager, such as Homebrew (if you use mac)
  2. Use rbenv to install the right Ruby version. You can find info about rbenv here
  3. You'll also need to have Ruby installed in your machine and running the 2.6.6 version by default
rbenv install 2.6.6
rbenv global 2.6.6
  1. Install Rails 6.0.3.7 (never do sudo gem install rails even if the terminal tells you so)
gem install rails -v 6.0
  1. If you don't have bundler and yarn installed, you need to install NVM - version 14.15.0 and then
gem install bundler
npm install --global yarn
  1. After that, run the following commands to make all the dependencies available to your application
bundle install
yarn install
  1. At last, you just need to create the development database, and run the rails server on yout local host
rails db:create db:migrate
rails s
  1. You'll be able to open the application by coping the following link to your browser
http://localhost:3000/

Licensing

MIT License

Copyright (c) 2021 CasaLarEmaus