Skip to content

Points site for the Iota Beta chapter of Kappa Delta Rho

Notifications You must be signed in to change notification settings

qjd2413/KDRIBPoints

Repository files navigation

Stories in Ready

KDRIB Points

Points site for the Iota Beta chapter of Kappa Delta Rho

Setup

  1. Download Node and Bower (sorry)
  2. Clone repository
  3. Create a Google API project
  • Select dropdown in top right, choose "Create New Project"
  1. Click "Credentials" on the left, and create new OAuthClientID with authorized redirect uri http://localhost:3000/user/google_callback, take note of client id and secret.
  2. Enable Google+ API (go to Overviews, and under the social section click "Google+", then enable.
  3. Run node setup.js (and skip to step 11), or continue manually
  4. Copy config/template_config.js to config/config.js and replace with your information.
  5. Create a new MySQL database called 'kdrpoints'
  6. npm install and bower install
  7. Install gulp and eslint globally-- npm install -g gulp eslint.
  8. Run gulp to start the server

SysAdmin setup

Adding System Adminstrators (you should probably do this)

  1. Log the desired SysAdmin into the site
  2. mysql -u <user> -p, enter password at the prompt
  3. use kdrpoints;
  4. INSERT INTO SysAdmins(BrotherId) SELECT id FROM Brothers WHERE email='<email>@kdrib.org';
  5. Ensure they have been added correctly by running SELECT * FROM SysAdmins

Troubleshooting

Error Solution
'gulp' is not recognized as an internal or external command, operable program or batch file. StackOverflow's Answer
EACCES error when installing NPM modules globally without sudo npm documentation

About

Points site for the Iota Beta chapter of Kappa Delta Rho

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •