Skip to content

giv2giv/giv2giv-jquery

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
 
 
 
 
js
 
 
ui
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

giv2giv-jquery

https://giv2giv.org user interface using jquery, history.js, crossroads.js

##Setup:##

Step 1: Install nginx

sudo apt-get install nginx

Step 2: Edit example-nginx.conf to point to your local git folder

root /home/my_user/giv2giv-jquery;

Step 3: Make a link to your example-nginx.conf in your nginx sites-available directory (default: /etc/nginx/sites-enabled)

cd /etc/nginx/sites-enabled
sudo ln -s ~my_user/giv2giv-jquery/example-nginx.conf

Step 4: Start or restart nginx

sudo service nginx start

Step 5: Edit js/utils.js to point to your giv2giv API. Options include:

The giv2giv test server:

GLOBAL.SERVER_URL = "https://apitest.giv2giv.org"

A local development copy of the giv2giv Ruby on Rails API from giv2giv-rails:

GLOBAL.SERVER_URL = "http://localhost:3000"

Step 6: Using a browser navigate to http://localhost. If you get a 403 error try sudo chmod -R 755 *

About

Web front-end using jquery, hasher.js, crossroads.js

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published