You may need following things to get started. Please download and install
dependencies
- To install Paper Knowlegebase please make sure you have installed node and gulp.
Download Node
- You can use any software of your choice to edit HTML files or
Download VS Code
You will need to remove your current gulp global package before installing v4 in order to
do an upgrade.
Note: The $ shows the command is to be run on the
command line and shouldn’t be typed
$ npm rm -g gulp
$ npm install -g gulp-cli
This command removes your current global package and installs v4 from the gulp-cli 4.0
branch.
Make sure you don’t get any errors from the first command before you type the second.
Depending on your set-up, you may need to run them with sudo.
To verify what version you have installed globally, you can run the below command (and
should see a similar output)
$ gulp -v
CLI version 1.2.1
It’s time to open Paper HTML app folder to your favorite editor. It’s easy to use an
editor which have terminal. Like VS Code or PhpStrom
First of all install all node modules by using this command:
$ npm install
After all node modules installation completed run
gulp watch
gulp watch will create a temporary folder with name of tmp
only change content in src folder tmp folder is just for preview.