Women Hack for Non-Profits website rebuild.
- First you will need to install NPM to manage packages https://nodejs.org/
- Install Grunt
- Clone the repo:
git clone [email protected]:womenhackfornonprofits/whfnp.git
- Install all required packages:
npm install
in the directory root, this will read the package.json file and install all required packages. - You will need to have Ruby on your machine
- Install Ruby Gems
- Get Bundler (the Ruby package manager):
gem install bundler
- Run
bundle install
in the project root directory to install dependencies - You will need to create a file
s3settings.json
ands3settingsprod.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"
}
- HTML, CSS/SASS changes
In order to compile and watch the SASS and the templates run
grunt default
, this will watch for changes to html and sass and compile it all.
- Make sure the gruntfile is pointing to the right credential file
s3settings.json
this should be by default using dev credentials - All you need is to run
grunt 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.
- Content: Kriselda Rabino
- Front End Dev: Liliana Kastilio
- Design: Elizabeth Chesters
- Logo: Mariza Dima
- QA & Project Manager: Tanya Powell
- Product Owner: Nandhini Narasimhan
- CSS
- HTML
- Grunt
- AWS S3
- Jira
- Browserstack
- Slack
In the Gruntfile.js you can find various tasks to compile, deploy and help you work locally, take a peek in there.