Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,633 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Giving Connection

Connecting nonprofits with communities in Nashville and Atlantic City (for now!).

Stack

  • Ruby on Rails 7.2.x
  • Ruby 3.2.x
  • Postgres and Postgis
  • Hotwire
  • Tailwind CSS
  • jsbundling and cssbundling

Installation

  1. Requirements
  • Bundler (gem install bundler)
  • Redis
  • cmake
  • Github SSH key (for cloning the repository)
  • Postgres with Postgis extension
  1. Clone the repository: git clone git@github.com:TelosLabs/giving-connection.git
  2. Run bin/setup to install dependencies and setup the database
  3. Create database: rails db:create
  4. Associate postgres database with postgis:
  • Run postgres: psql -d giving_connection_development
  • Inside of postgres command line, run
CREATE EXTENSION IF NOT EXISTS postgis;
exit
  • Run rake db:gis:setup
  1. Start redis with redis-server
  2. Run rails db:migrate and rails db:seed
  3. Run bin/dev to start the server
  4. Visit localhost:3000 in your browser

For running the app with Docker, check out the Docker README

Contributing

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Push your changes to your fork
  5. Create a pull request

Linting and Formatting

We use Standard Ruby for linting and formatting.

Run bundle exec rubocop to check all ruby files Run bundle exec rubocop -a to auto-correct offenses

Testing

Run tests with bundle exec rspec

System specs

  • Headless is the default config. If you want to see the browser you can run the following command: HEADLESS=false bundle exec rspec
  • If you want to pause the execution you can use pause inside an it statement.
  • If you want to see the logs you can use :log, e.g. it "xxx", :log do

About

Connecting nonprofits with communities in Nashville & Atlantic City

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages