just another wordpress theme
early stage - currently bootstraping the repo 😁
This gulp app is based on the gulp webapp generator for yeoman.
Notes :
The test
features included in the generator have been disabled.
The jade template engine was added for the mockups generation.
(the following recipe was used)
TODO : add deploy
- pull the repo
- install gulp globally
npm install -g gulp
(might require a sudo
)
3. install node modules (building libraries) and bower component (front end libraries) locally
npm install && bower install
- create a file named
.deployrc
at the root of your working directory and fill it using this template
{
"dev": {
"host": "ftp.your-awesome-server.com",
"port": "21",
"user": "awesome-ftp-user",
"password": "awesome-ftp-password",
"path": "/dev/wp-content/themes/hello"
},
"prod": {
"host": "ftp.your-awesome-server.com",
"port": "21",
"user": "awesome-ftp-user",
"password": "awesome-ftp-password",
"path": "/www/wp-content/themes/hello"
}
}
Since we use gulp to play in your local environment, the following task are available :
will build & pack the whole app in the dist
folder
will build the app and serve it on http://localhost:9000/
deploy the template code (dist
folder) to your development ftp server (see .deployrc
)
watch and deploy to your development ftp server 👍
deploy the template code (dist
folder) to your production ftp server (see .deployrc
)