- create a
mysql
database namedrppdb
- open
rppApi/models/index.js
and set your crediantials atline 6
.sequelize = new Sequelize('rppdb', 'username', 'password'); // your username and passwor here
- fire up Terminal,
cd
tocurrica\rppApi
and do anpm install
- when done, you can easily run the Backend Api by
node app.js
. you should see this in your terminalExpress server listening on port 3000
- setup the backend url in
rppFrontEnd/scripts/services/api
atline 9
.ApiService.baseUri = "http://0.0.0.0:3000/"; // your backend url here
- fire up Terminal,
cd
tocurrica\rppFrontEnd
and do anpm install
- then do a
bower install
- when done, you can easily run the Frontend by running
grunt
command.- Fire up the url in a decent browser and youre set to go.
make these changes easy to make in a config file :)