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-client
repo 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-mobile
master - Pull current
plateful-mobile
master branch:git pull --rebase upstream master
- Run
gulp build
to compile thewww
file directory locally - Navigate to your local
plateful-client
directory as created above - Replace the
www
directory with the newly compiledwww
directory - Add the commit the updated
www
directory: `git commit -a -m "Deploy client version 0.1" - Push the changes to
plateful-client
master: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
.