Showcase site for the hacks at #hackforrefugees
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 52 commits ahead of HackOutWest15:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.publish
lib
public
views
.gitignore
CNAME
README.md
gulpfile.js
package.json
winners.json

README.md

Hack for Refugees Showcase site

Develop

npm install
gulp

Visit localhost:3000 in browser.

We need to auth to GitHub, and need login and password for a user. We use environment variables for that in a separate .env file, like this:

GH_HOST=http://localhost:3000 # Note that atm both protocol and port is necessary for hackshots to load
GH_USER=<github username>
GH_PASS=<github password>

This is automatically injected into the app.

Gulp tasks:

gulp        # Defaults to gulp serve
gulp server # Start Express server on localhost:3000
gulp css    # Compile Scss to minified CSS
gulp watch  # Watch and compile Scss to CSS on change
gulp serve  # Runs server *and* watches Scss

Using the code for a different org? Don't forget to change the team GitHub ID hard coded in winners.json and OWNERS_ID in teams.js.

We take PRs!