Plateful Client Site - Plateful/plateful-mobile GitHub Wiki
The plateful mobile site is deployed from a separate repository: https://github.com/Plateful/plateful-client
The mobile site is deployed on heroku: http://platefulclient.herokuapp.com/
###Accessing Plateful-Client
- Create a new folder on your local computer
- Clone the
plateful-clientrepo and add a remote:
git clone https://github.com/Plateful/plateful-client.git
git remote add upstream https://github.com/Plateful/plateful-client.git`
###Deploying to Plateful-Client
- Push final revisions to
plateful-mobilemaster - Pull current
plateful-mobilemaster branch:git pull --rebase upstream master - Run
gulp buildto compile thewwwfile directory locally - Navigate to your local
plateful-clientdirectory as created above - Replace the
wwwdirectory with the newly compiledwwwdirectory - Add the commit the updated
wwwdirectory: `git commit -a -m "Deploy client version 0.1" - Push the changes to
plateful-clientmaster:git push upstream master - Push the changes to heroku:
git push heroku master
Pushing to heroku automatically runs npm install and executes the Procfile which starts the static server: node staticServer.js.