Setting Up...
To setup basic chulbul development enviroment you neet to start by installing chulbul.
To do that you can use npm
$ npm install chulbul
or can use yarn
$ yarn add chulbul
After installing chulbul create a index.js file and inside it.
const Chulbul = require(Chulbul)
Chulbul(__dirname, config)
.listen(5000)
And this all now run the index.js
file using node by node index.js
This will start the development server for you and will create a directory structure like below
{
"build": {
...
"index.html": null,
"main.css": null,
"power.js": null,
},
"templates": {
"components": {
"footer.html": null,
"navbar.html": null
},
"docs": {
"index.html": null,
"v0.0.1": {
"index.md": null,
"introduction.md": null,
"setup.md": null
}
},
"layouts": {
"base.html": null,
},
"static": {
"main.css": null,
"power.js": null,
}
},
"index.js": null,
}
Last Updated: 16/01/2021 Next Article