Skip to content

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

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

giv2giv/giv2giv-jquery

Repository files navigation

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

Contributors 3

  •  
  •  
  •