https://github.com/Gottwik/Enduro is cool but at some point I felt it grew too quickly and has a bit too many dependencies that are not relevant for all the projects. enduro2 is more or less exact clone, but will focus on decoupling dependencies into separate modules which users will be able to include if they are needed.
Enduro is minimalistic, lean & mean, node.js cms. See more at enduro.js website
Other repositories: Enduro • samples • Enduro admin • endurojs.com site
Complete, structured documentation is available here http://www.endurojs.com/docs
If you'd like to transpile your static js assets (under assets/js/
) you can do so. Simply, set a babel
object in your config file. This uses the same babel config specified here: https://babeljs.io/docs/usage/api/#options
{
"babel": {
"presets": ["es2015"]
}
}
Remember also to add whatever preset you'd like to use using npm:
npm install --save-dev babel-preset-es2015
- Make sure you have node.js installed. Grab it here if you don't: nodejs installer.
- Run
npm install enduro -g
in your terminal. This will install enduro. - Run
enduro create myproject
. This will create new folder /myproject with the enduro project - Go in the newly created folder by running
cd myproject
. - Start enduro in development mode by running simply
enduro
. Browser window should open with the website running. - Done!
- Also, Admin interface is accessible at
localhost:5000
. Add admin user by runningenduro admin add username password
.
I welcome you to develop enduro.js. Follow these guides to get you started quickly:
- clone enduro repository
- cd into enduro's directory
- run
npm link
- now you can develop enduro
- enduro has mocha tests
- add your tests in the /test directory
- run all tests just by running
npm test
- I decided to decouple admin interface from enduro to make things cleaner
- enduro admin is built using enduro ( duh ;-) )
- clone enduro_admin's git repo: https://github.com/Gottwik/Enduro_admin
- cd into enduro's directory
- run
npm link ../enduro_admin
or wherever you cloned the enduro_admin to - run enduro on enduro_admin by
enduro -nr -noadmin
- run
enduro
on your project - now you can edit enduro admin's source code and see the change on your project at localhost:5000/admin