projectID: coqui-dev-portal
You will need various tools to get started with development. Below are the links to the tools to be installed in sequence.
- Git
- Python - use version 2.7.x (2.7.8 preferred)
- Google Cloud SDK
$ gcloud auth login
$ gcloud config set project coqui-dev-portal
- Install components with
$ gcloud components update
- pkg-python
- gae-python
- app-engine-python
- alpha, beta, app, preview (optional)
- Node.js
- https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server
$ curl -sL https://deb.nodesource.com/setup | sudo bash -
$ sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install build-essential libssl-dev
- Bower
$ npm install -g bower
- Gulp
$ npm install -g gulp
- Yeoman
$ npm install -g yo
- Ng-Poly Generator
npm install -g generator-ng-poly
From within your project directory run the commands below to get started. (assuming $HOME/ModernDev/ is the active workspace)
# Clone the repositories
$ gcloud init coqui-dev-portal
## these steps might not be needed - need to confirm
$ cd coqui-dev-portal
$ git clone https://bitbucket client
$ cd default
$ git pull https://g0r1v3r4@bitbucket.org/moderndev/portal.git
{ "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} }
- Make a new branch every time using
$ git checkout -b <nameofbranch>
- When finished working with the branch push the code to Bitbucket
- Creat pull request to
master
when ready to push changes to production
$ gcloud preview app run <nameofdirectory>
will run the dev server forlocalhost
testing$ gcloud preview app deploy <nameofdirectory
will deploy the branch to app engine instance