This is a standalone implementation of dreditor and dreditor-ui for the
sole purposes of helping develop it outside the scope of a d.o site (which has
a massive database).
It is recommended that you have at least a basic understanding of Node.js development best practices before continuing. If not, please read their official documentation before continuing.
- Node.JS
- Grunt.js (install the global CLI tool)
- dreditor (located one level up
../dreditor) - dreditor-ui (located one level up
../dreditor-ui)
- Clone all three repositories (dreditor, dreditor-ui and this one) into the same folder.
- Install the Node.js modules for dreditor and dreditor-ui respectively.
- Create a local website instance (recommend using
dreditor-standalone.devfor continuity sake) that points to the clone of this repository. This is whereindex.htmllives. - Start the
grunt watchtasks for both dreditor and dreditor-ui in separate terminal windows. - Now if files are changed in either of the main repositories, they will be automatically rebuilt and then you can refresh the browser to see the affected changes.