##Gillz N Skillz
Plan your next fishing adventure with Gillz N Skillz.
A fishing app built with React, Loopback and MongoDB.
Deployed to the interwebs with Heroku magic following the steps below:
- “npm install -g strongloop”
- Make sure you have the Heroku toolbelt installed https://devcenter.heroku.com/articles/heroku-cli
- Create a file in the root called “Procfile”
- Enter following line to the new Procfile “web: slc run”
- Login to heroku on the command line with “heroku login” (Heroku account require, create one if you haven’t yet)
- Run “heroku apps:create --buildpack https://github.com/strongloop/strongloop-buildpacks.git”
- Duplicate “server/config.json” file to “server/config.production.json”
- Change the port value in the server/config.production.json to 80
- Comment out “/build” by using a pound sign “#/build” in the “client/.gitignore” file
- Update the “files” value in the “server/middleware.json” to “files”: { “loopback#static”: { “params”: “$!../client/build” } },
- Add “files”: {} to the “server/middleware.development.json” file
- Run “npm run build” in the client folder
- Commit and push all changes to the master branch
- Run “git push heroku master” (this will take a few minutes to finish)
- Run “heroku open” once the deployment is finished Note: You may need to comment out the server code in root.js on initial deployment to pull front end vs. back end. If everything went according to plan you should see your working app via a live herokuapp.com URL