Giter VIP home page Giter VIP logo

ride-board's Introduction

RideBoard.app

Ride sharing for Grinnell students

Setting Local Environment Variables

There are some secrets or local defaults you may wish to override in your environment without committing them to git. Copy .env.local.example to .env.local and modify it to fit your needs.

Starting the Dev Server

This project uses Docker, so you will need to install that. Configure the database by running docker-compose run web rails db:setup. Then just run docker-compose up from the project root to start the server at http://localhost:3000.

Doing Things on the Container

There are a number of commands you may want to run inside the container, such as rails generate or rails console. To get a shell inside the container, just run docker-compose exec web bash once the server is running. This will attach to the same container that the server is using and allow you to run whatever commands you want.

Running Tests

To just run all the tests once, run docker-compose exec web rails test.

If you want tests to automatically rerun when you change files, run docker-compose exec web bundle exec guard. Guard will only run certain tests when relevant files change. To run all tests, just hit enter in the guard interactive console when you see the > prompt.

Deploying

This project is deployed on heroku, and available at https://rideboard.app. The master branch is automatically deployed to a staging version of the app at https://ride-board-staging.herokuapp.com/ by CI. Promotion from staging to production is done manually.

ride-board's People

Contributors

alexanderotavka avatar yashdavisgupta avatar yourfin avatar lequytra avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.