$ git clone https://github.com/thorsten/www.phpmyfaq.de.git
$ cd www.phpmyfaq.de
$ npm install
$ bower install
$ grunt build
$ grunt serve
$ grunt fetchVersions
$ grunt fetchDownloadInfos
$ grunt
The site will be generated inside the folder ./dist with http://localhost:9000 as domain. Usually you only need the "grunt serve" task during development.
$ grunt fetchVersions
$ grunt fetchDownloadInfos
$ grunt -env=staging
The site will be generated inside the folder ./dist with http://staging.phpmyfaq.de as domain.
$ grunt fetchVersions
$ grunt fetchDownloadInfos
$ grunt -env=production
The site will be generated inside the folder ./dist with http://www.phpmyfaq.de as domain.
First, generate a JSON file with the name .ftppass in the root folder of this project. The file contains your FTP username and password:
{
"production": {
"username": "your-ftp-username",
"password": "your-ftp-password"
}
}
The deployment endpoint is defined in ./data/staging/deployment.json, then just simply deploy with this command:
$ grunt deploy -env=staging
The deployment endpoint is defined in ./data/production/deployment.json, then just simply deploy with this command:
$ grunt deploy -env=production
n/a
n/a
Mozilla Public License 2.0, see LICENSE.md for more information.
© 2014-2015 Thorsten Rinne