Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

TechforgoodCAST/hops-dashboard

Repository files navigation

Hops Dashboard

Getting started

These instructions will get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Ruby v2.5.5, Bundler, PostgreSQL, NodeJS and Yarn.

Install the app

  1. git clone https://github.com/TechforgoodCAST/hops-dashboard.git
  2. cd hops-dashboard
  3. bundle install
  4. yarn install

Set up the database

rails db:setup (you may need to update database.yml with your local Postgres credentials).

Run the app locally

rails s to start local development server then go to localhost:3000.

You will need to create a new user account to sign in, e.g. rails c then User.create(full_name: "My Name", email: "[email protected]", password: "Pa55w0rd").

Running tests

rails test to run Ruby unit tests.

rails test:system to run browser tests.

If you have inconsistencies with systems test and JavaScript, try recompiling the assets. Delete public/assets then run rails assets:precompile NODE_ENV=test RAILS_ENV=test.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published