Git Product home page Git Product logo

donation-system-webapp's Introduction

Build Status Coverage Status Dependency Status Maintainability

Readme

The web app for Survival's donation system.

How to use this project

To initialise the project

Run the one-off setup script (Beware: Needs permissions to access the credentials repo):

. scripts/setup.sh

This script will:

  • download the last jasmine release for the JS tests in a temp directory
  • unzip it and copy the lib folder inside of the public/js/ folder
  • delete the temp directory
  • download the credentials
  • run npm install to install the node packages
  • run bundle install to install gems.
  • run bundle exec rake to run the tests.

The Jasmine setup script can also be used to update to a newer version of the library.

To run the app locally

bundle exec rackup

Then visit localhost:9292 in your browser.

To run all tests, and rubocop

. test.sh

To run one test file

bundle exec rspec path/to/test/file.rb

To run one single test

bundle exec rspec path/to/test/file.rb:TESTLINENUMBER

Frontend

To run the JavaScript tests

Run:

npm test

and then visit: http://localhost:9292/js/specrunner.html

To work on the syles

Run:

npm test

and then visit: http://localhost:9292

Contributing

Please check out our contribution guides and our code of conduct

License

License MIT License

donation-system-webapp's People

Contributors

octopusinvitro avatar ketan-survival avatar depfu[bot] avatar

Watchers

Art Rodriguez avatar 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.