Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/controlshift/prague-server
Server for the ControlShift Prague donation application
https://github.com/controlshift/prague-server
Last synced: 3 months ago
JSON representation
Server for the ControlShift Prague donation application
- Host: GitHub
- URL: https://github.com/controlshift/prague-server
- Owner: controlshift
- License: other
- Archived: true
- Created: 2014-01-10T19:05:32.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T14:02:56.000Z (over 6 years ago)
- Last Synced: 2024-08-02T12:49:12.524Z (6 months ago)
- Language: Ruby
- Size: 1.03 MB
- Stars: 9
- Watchers: 11
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.rdoc
- License: LICENSE.txt
Awesome Lists containing this project
- toolsforactivism - TakeCharge.io - opensource or SaaS online donations powered by Stripe. (Open-source host-it-yourself:)
- awesome-starred - controlshift/prague-server - Server for the ControlShift Prague donation application (others)
README
== Takecharge Server
This is the API server for the donation widget to be used in conjunction with https://github.com/controlshift/prague-client
{}[https://travis-ci.org/controlshift/prague-server]
{}[https://codeclimate.com/github/controlshift/prague-server]We operate a hosted version at takecharge.io.
The application uses the Stripe API to provide server side account management and API glue to allow people to make donations to organisations that they care about. It also allows organisations to sign up for the donation processing service.
=== Setup
Running a development environment requires ruby and vagrant to be preinstalled. We run vagrant with virtualbox.
Verify the base dependencies, install additional components:
./bin/bootstrapBoot vagrant, provision the virtual machine and setup the application
vagrant upWait a *very* long time. Go get a few cups of coffee. The script is busy installing postgres, ruby and the
bundle in your VM using chef. If things seem stalled, ssh into the vagrant box and check what it is working on.Run the application
vagrant ssh
cd /home/vagrant/code
rake db:create
rake db:migrate
rails serverThe application will now be running at localhost:3030
=== GeoIP
You can download the GeoIP database we use here:
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
Be sure to specify `GEOCOUNTRY_LITE_PATH` in your environment somewhere.
This is automatically setup in ~/tmp by the bootstrap script