This is a public repository for the STRC landing page. The front-end of the website is made from the Generator Gulp Webapp. If you want to learn more about the website's scaffold, read the Gulp Webapp documentation first.
- Git (>2.2.2)
- Node JS (>=0.12.0)
- NPM (>=3.3.3)
- Gulp (^3.9.0)
- Terminal / iTerm (CLI)
git clone [add-your-forked-repository-SSH-url-here]
cd solve-the-refugee-crisis
sudo npm install
bower install
gulp serve
At that point you should see the site running on your local machine.
2. Install Node JS for Windows. Restart the computer after installation.
'npm install npm -g'
'npm install -g bower'.
Reference: Setting Up Bower and Gulp in Windows
On a Vagrant VM, the Linux procedure described above will not work. Instead, try following the steps described in this blog post or this blog post.
Anyone who wants to make changes to the STRC website may fork this repository and open a pull request. Please provide detailed commit logs that describe the changes you propose, along with a concise description of your pull requests.
Pull requests are merged based upon the following criteria:
- Proposed changes are clearly described in the title and comments of the pull request
- Updates or clarifies the current state of the project
- Increases accessibility
- Improves performance
- Improves design
- Improves usability
- Fixes a bug
- Improves documentation
- Makes some other incremental improvement not stated above but is a reasonable suggestion
If you are creating new front-end functionality, please write a mocha test in the ./test/spec suite. Proposed functionality without tests will not be merged into master.
- To run the tests, simply execute the Mocha Spec Runner:
gulp serve:test
You should see a simple interface which demonstrations your passed and failed assertions.
I've created a public trello board if anyone wants to help move this project forward they can assign themselves to a specific task and join the Refugee.Community Design & Development Team.