Women Hack for Non-Profits website rebuild.
git clone git@github.com:womenhackfornonprofits/whfnp.git
npm install
in the directory root, this will read the package.json file and install all required packages.gem install bundler
bundle install
in the project root directory to install dependenciess3settings.json
and s3settingsprod.json
with the following content:Development bucket
{
"key": "your key here",
"secret": "your secret here",
"bucket": "devwomenhackfornonprofits",
"region": "us-west-2"
}
Production bucket
{
"key": "your production key here",
"secret": "your production secret here",
"bucket": "www.womenhackfornonprofits.com",
"region": "eu-west-1"
}
grunt default
, this will watch for changes to html and sass and compile it all.s3settings.json
this should be by default using dev credentialsgrunt deploy
This will minify, copy and do everything else needed to push the site to the dev bucket.Note: All this information can be filled out once you have access to the bucket to deploy to DEV & PROD.
In the Gruntfile.js you can find various tasks to compile, deploy and help you work locally, take a peek in there.