Giter Club home page Giter Club logo

donation-system's Introduction

Build Status Coverage Status

Readme

Explain your project here.

How to use this project

  • If your project is public and hosted in GitHub, you can use travis and coveralls for free.
  • If your project is private, you can host it for free in Gitlab and use their CI. You will need to pay for test coverage though.
  • Update badges with your user/repo names. Turn your repo ON in Travis.
  • Update license to your preferred one.

To initialise the project

bundle install

Tests

You need to set your environment with a STRIPE_API_KEY variable equal to a valid Stripe API private test key before running the tests. For example:

export STRIPE_API_KEY=blah

To run all tests and rubocop

bundle exec rake

To run one file

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

To run one test

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

Testing emails in production

You can send an email to any email address using the test_email_server.rb script, and setting your email server, username and password, like this:

export EMAIL_SERVER=YOUR_EMAIL_SERVER
export EMAIL_USERNAME=YOUR_USERNAME
export EMAIL_PASSWORD=YOUR_PASSWORD
bundle exec ruby scripts/test_email_server.rb 'YOUR_EMAIL_HERE'

License

License MIT License

donation-system's People

Contributors

superman32432432 avatar ketan-survival avatar keirsurvival avatar octopusinvitro avatar efueger avatar samstickland avatar

Watchers

 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.