MM56 / labase

la base quoi.

Home Page:http://merci-michel.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Merci-Michel

Setup

Make sure you have at least node 0.12

npm install

Configure

For the different environments, edit the Makefile, then execute make decrypt_conf.

Configure host in grunt/config/local.json (there's a sample you can duplicate).

Extract Certificate and Private Key files from .pfx

https://wiki.cac.washington.edu/display/infra/Extracting+Certificate+and+Private+Key+Files+from+a+.pfx+File When uploading, remove the beginning down to : -----BEGIN

Run locally

grunt

Build & Deploy

Preprod

grunt build and choose preprod.

Upload on FTP the dist folder and be careful about overwriting the .htaccess.

Staging

grunt build and choose staging.

Then, grunt gaeDeploy:staging

On GCP, in the menu App Engine > Versions, select the staging module and make default the version you just deployed.

Prod

grunt build and choose prod.

Then, grunt gaeDeploy:prod

On GCP, in the menu App Engine > Versions, select the default module and make default the version you just deployed.

Tips

Default search in Sublime Text: -node_modules,-dist/js,-dist/css,-app.sublime-workspace

About

la base quoi.

http://merci-michel.com/

License:GNU General Public License v2.0


Languages

Language:CoffeeScript 39.6%Language:CSS 36.0%Language:PHP 11.8%Language:ApacheConf 7.3%Language:HTML 4.0%Language:JavaScript 0.9%Language:Makefile 0.5%