Rebuild of the Pimp My Cause website. Powered by Women Hack For Non Profits
- Clone the repo:
git clone [email protected]:womenhackfornonprofits/pimpmycause-rebuild.git
- Install NPM to manage packages.
- Run
npm install
this will install all packages and the Pencil Blue CMS CLI in thepackage.json
file. - Install Grunt
- Install Homebrew, if you have it already make sure it is up to date with
brew doctor
- Install MongoDB with
brew install mongodb
. - Create the DB folder mongo needs to use
mkdir -p /data/db
Notes: you might need to use sudo
.
To run the project on your local machine in the terminal:
mongod
Then in a new terminal tab (or a new terminal on windows) run:
nodemon main
This will connect the application to your local mongo instance and will start the PencilBlue CMS. You will then be able to view it in your browser on http://localhost:8080/
mongo
Then in a new tab of the terminal follow the steps:use pimp_my_cause
load('./seeder.js')
you should getture
if there are no errorsdb.getCollectionNames()
You should get a list of all the collections in the 'pimp_my_cause' database.
Note: You will need to go through these steps only when you want to reset your local 'pimp_my_cause' database. There is no need to run this every time you are working on the project.
Backend | Frontend |
---|---|
Node.js | HTML |
MongoDB | CSS |
All builds are performed by Travis-CI and can found here. To view details of our code coverage visit Code Climate and we are using Mocha as our testing framework.
Notes: Please review the PencilBlue repo for source code updates and PencilBlue APIs for documentations.
For latest updates and FAQ, please visit the PencilBlue Gitter