This is the www home of the Boston JS Meetup.
Visit https://secure.meetup.com/meetup_api/key/ and get your API Key. Cut and paste it into a file called app/data/KEY.txt
. Save it and remove the extension so the file name is simply KEY
.
From the root directory, run npm install
.
From the root directory, run node index.js
.
/
will give you the most recent event/events
will give you an index of all events, linked to their meetup page/events/:id
will give you a JSON dump of an individual event
(cd deploy/ansible && ansible-playbook --ask-sudo-pass -i inventory/production deploy.yml)
To get changes to show up on the site, you may need to SSH into the box and run these commands from the site root (/mnt/site/
):
sudo npm run build
(runsgrunt
, specifically we care about thehttp
grunt task to download the latest meetup data)sudo service site restart
(restarts the website)
You have to run a deploy to get the site to see new meetups after you add them on meetup.com
If, after a deploy, the changes still do not appear to have happened, ssh into the machine and do
sudo service site restart
. This will be fixed when #27 is closed.