Rocket is an ES6 starter (compiled with Babel) which is based on Wordpress CMS, basically built to do good shit 🔥
Other projects built with Rocket
This starter includes the demonstration linked above
First of all, clone this repository into your local www
folder
git clone https://github.com/TheoKleman/rocket
public
folder of your project.
To run WordPress you must use
You should use the database dump included into your project. You could find the last DB dump in dump
folder.
Import this .sql file in a new table called rocket
public/wp-config.php
file are the same as yours
All the things concerning this part are contained into the
compiler
folder
You need a recent installation of NodeJS.
Then, you can install Node dependencies needed for this starter by using the following commands
$ cd /path/to/project/compiler
$ npm install
proxy
value into the Gulp config file by remplacing it with the previously created virtualhost value
$ cd /path/to/project/compiler/config
$ nano general.config.js
module.exports = {
allowNotifications: true,
scripts: {
entry: 'Main.es6',
inputPath: './src/scripts',
outputPath: '../public/wp-content/themes/rocket-theme/js',
outputName: 'main'
},
styles: {
entry: 'main.scss',
inputPath: './src/styles',
outputPath: '../public/wp-content/themes/rocket-theme/css'
},
browserSync: {
proxy: <YOUR VIRTUALHOST>,
open: false,
notify: false,
https: false,
ui: false,
ghostMode: false
}
}
Rocket provides an ESLinter, you can set up your own ESLint by editing the .eslintrc
file
Simply run gulp
into compiler
folder, hope you will enjoy it ! 🚀
NB : By default, Wordpress back office logs are
admin
/admin
- Add store/dispatcher
- Write best practices docs