1.4.47 • Published 6 years ago

enduro v1.4.47

Weekly downloads
15
License
MIT
Repository
github
Last release
6 years ago

enduro.js

Join the chat at https://gitter.im/Enduro-js/Lobby npm version npm Build Status Coverage Status Code Climate GitHub license

Enduro is minimalistic, lean & mean, node.js cms. See more at enduro.js website

Other repositories: Enduro • samplesEnduro adminendurojs.com site

enduro admin enduro admin enduro admin enduro admin

Documentation

Complete, structured documentation is available here http://www.endurojs.com/docs

JS Transpilers

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

CSS Pre-processors

Instead of using SASS, you can use the LESS pre-processor instead. To do this, set a less object in your config file. This consists of a paths array which is the same as one defined here: http://lesscss.org/#using-less

{
    "less": {
        "paths": []
    }
}

Once that is set, simply add a .less file in your assets/css folder.

For STYLUS (http://stylus-lang.com/) support simple set stylus to true in your config file:

{
    "stylus": true
}

now all .styl files in your assets/css folder are used to generate the css.

Getting started

enduro create

  1. Make sure you have node.js installed. Grab it here if you don't: nodejs installer.
  2. Run npm install enduro -g in your terminal. This will install enduro.
  3. Run enduro create myproject. This will create new folder /myproject with the enduro project
  4. Go in the newly created folder by running cd myproject.
  5. Start enduro in development mode by running simply enduro. Browser window should open with the website running.
  6. Done!
  7. Also, Admin interface is accessible at localhost:5000. Add admin user by running enduro admin add username password.

Developing enduro

I welcome you to develop enduro.js. Follow these guides to get you started quickly:

  1. clone enduro repository
  2. cd into enduro's directory
  3. run npm link
  4. now you can develop enduro

Writing enduro tests

  1. enduro has mocha tests
  2. add your tests in the /test directory
  3. run all tests just by running npm test

Developing enduro admin

  1. I decided to decouple admin interface from enduro to make things cleaner
  2. enduro admin is built using enduro ( duh ;-) )
  3. clone enduro_admin's git repo: https://github.com/Gottwik/Enduro_admin
  4. cd into enduro's directory
  5. run npm link ../enduro_admin or wherever you cloned the enduro_admin to
  6. run enduro on enduro_admin by enduro -nr -noadmin
  7. run enduro on your project
  8. now you can edit enduro admin's source code and see the change on your project at localhost:5000/admin
1.4.47

6 years ago

1.4.46

7 years ago

1.4.45

7 years ago

1.4.44

7 years ago

1.4.43

7 years ago

1.4.42

7 years ago

1.4.41

7 years ago

1.4.40

7 years ago

1.4.39

7 years ago

1.4.38

7 years ago

1.4.37

7 years ago

1.4.36

7 years ago

1.4.35

7 years ago

1.4.34

7 years ago

1.4.33

7 years ago

1.4.32

7 years ago

1.4.31

7 years ago

1.4.30

7 years ago

1.4.29

7 years ago

1.4.28

7 years ago

1.4.27

7 years ago

1.4.26

7 years ago

1.4.25

8 years ago

1.4.24

8 years ago

1.4.23

8 years ago

1.4.21

8 years ago

1.4.20

8 years ago

1.4.19

8 years ago

1.4.18

8 years ago

1.4.17

8 years ago

1.4.16

8 years ago

1.4.15

8 years ago

1.4.14

8 years ago

1.4.13

8 years ago

1.4.12

8 years ago

1.4.11

8 years ago

1.4.10

8 years ago

1.4.9

8 years ago

1.4.8

8 years ago

1.4.7

8 years ago

1.4.6

8 years ago

1.4.5

8 years ago

1.4.4

8 years ago

1.4.3

8 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.23

8 years ago

1.2.22

8 years ago

1.2.21

8 years ago

1.2.20

8 years ago

1.2.19

8 years ago

1.2.18

8 years ago

1.2.17

8 years ago

1.2.16

8 years ago

1.2.15

8 years ago

1.2.14

8 years ago

1.2.13

8 years ago

1.2.12

8 years ago

1.2.11

8 years ago

1.2.10

8 years ago

1.2.9

8 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.66

8 years ago

1.1.65

8 years ago

1.1.64

8 years ago

1.1.63

8 years ago

1.1.62

8 years ago

1.1.61

8 years ago

1.1.60

8 years ago

1.1.59

8 years ago

1.1.58

8 years ago

1.1.57

8 years ago

1.1.56

8 years ago

1.1.55

8 years ago

1.1.54

8 years ago

1.1.53

8 years ago

1.1.52

8 years ago

1.1.51

8 years ago

1.1.50

8 years ago

1.1.49

8 years ago

1.1.48

8 years ago

1.1.47

8 years ago

1.1.46

8 years ago

1.1.45

8 years ago

1.1.44

8 years ago

1.1.43

8 years ago

1.1.42

8 years ago

1.1.41

8 years ago

1.1.40

8 years ago

1.1.39

8 years ago

1.1.38

8 years ago

1.1.37

8 years ago

1.1.36

8 years ago

1.1.35

8 years ago

1.1.34

8 years ago

1.1.33

8 years ago

1.1.32

8 years ago

1.1.31

8 years ago

1.1.30

8 years ago

1.1.29

8 years ago

1.1.28

8 years ago

1.1.27

8 years ago

1.1.26

8 years ago

1.1.25

8 years ago

1.1.24

8 years ago

1.1.23

8 years ago

1.1.22

8 years ago

1.1.21

8 years ago

1.1.20

8 years ago

1.1.19

8 years ago

1.1.18

8 years ago

1.1.17

8 years ago

1.1.16

8 years ago

1.1.15

8 years ago

1.1.14

8 years ago

1.1.13

8 years ago

1.1.12

8 years ago

1.1.11

8 years ago

1.1.10

8 years ago

1.1.9

8 years ago

1.1.8

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.147

8 years ago

1.0.146

8 years ago

1.0.145

8 years ago

1.0.144

8 years ago

1.0.143

8 years ago

1.0.142

8 years ago

1.0.141

8 years ago

1.0.140

8 years ago

1.0.139

8 years ago

1.0.138

9 years ago

1.0.137

9 years ago

1.0.136

9 years ago

1.0.135

9 years ago

1.0.134

9 years ago

1.0.133

9 years ago

1.0.132

9 years ago

1.0.131

9 years ago

1.0.130

9 years ago

1.0.129

9 years ago

1.0.128

9 years ago

1.0.127

9 years ago

1.0.126

9 years ago

1.0.125

9 years ago

1.0.124

9 years ago

1.0.123

9 years ago

1.0.122

9 years ago

1.0.121

9 years ago

1.0.120

9 years ago

1.0.119

9 years ago

1.0.118

9 years ago

1.0.117

9 years ago

1.0.116

9 years ago

1.0.115

9 years ago

1.0.114

9 years ago

1.0.113

9 years ago

1.0.112

9 years ago

1.0.111

9 years ago

1.0.110

9 years ago

1.0.109

9 years ago

1.0.108

9 years ago

1.0.107

9 years ago

1.0.106

9 years ago

1.0.105

9 years ago

1.0.104

9 years ago

1.0.103

9 years ago

1.0.102

9 years ago

1.0.101

9 years ago

1.0.100

9 years ago

1.0.99

9 years ago

1.0.98

9 years ago

1.0.97

9 years ago

1.0.96

9 years ago

1.0.95

9 years ago

1.0.94

9 years ago

1.0.93

9 years ago

1.0.92

9 years ago

1.0.91

9 years ago

1.0.90

9 years ago

1.0.89

9 years ago

1.0.88

9 years ago

1.0.87

9 years ago

1.0.86

9 years ago

1.0.85

9 years ago

1.0.84

9 years ago

1.0.83

9 years ago

1.0.82

9 years ago

1.0.81

9 years ago

1.0.80

9 years ago

1.0.79

9 years ago

1.0.78

9 years ago

1.0.77

9 years ago

1.0.76

9 years ago

1.0.75

9 years ago

1.0.74

9 years ago

1.0.73

9 years ago

1.0.72

9 years ago

1.0.71

9 years ago

1.0.70

9 years ago

1.0.69

9 years ago

1.0.68

9 years ago

1.0.66

9 years ago

1.0.65

9 years ago

1.0.64

9 years ago

1.0.63

9 years ago

1.0.62

9 years ago

1.0.61

9 years ago

1.0.60

9 years ago

1.0.59

9 years ago

1.0.58

9 years ago

1.0.56

9 years ago

1.0.55

9 years ago

1.0.54

9 years ago

1.0.53

9 years ago

1.0.52

9 years ago

1.0.50

9 years ago

1.0.49

9 years ago

1.0.48

9 years ago

1.0.47

9 years ago

1.0.46

9 years ago

1.0.45

9 years ago

1.0.44

9 years ago

1.0.43

9 years ago

1.0.42

9 years ago

1.0.41

9 years ago

1.0.40

9 years ago

1.0.39

9 years ago

1.0.38

9 years ago

1.0.37

9 years ago

1.0.36

9 years ago

1.0.34

9 years ago

1.0.33

9 years ago

1.0.32

9 years ago

1.0.31

9 years ago

1.0.30

9 years ago

1.0.29

9 years ago

1.0.28

9 years ago

1.0.27

9 years ago

1.0.26

9 years ago

1.0.25

9 years ago

1.0.24

9 years ago

1.0.23

9 years ago

1.0.22

9 years ago

1.0.21

9 years ago

1.0.20

9 years ago

1.0.19

9 years ago

1.0.18

9 years ago

1.0.17

9 years ago

1.0.16

9 years ago

1.0.15

9 years ago

1.0.14

9 years ago

1.0.13

9 years ago

1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago