Skip to content

Latest commit

 

History

History
79 lines (49 loc) · 1.64 KB

dependencies-install.md

File metadata and controls

79 lines (49 loc) · 1.64 KB

Dependencies

For production

Javascript must be enabled.

  • Git: Versioning constrol system.

For development

All deployment dependencies are required.

  • node.js: Software platform for scalable server-side and networking applications.
  • npm: Package manager for node.js (included in node in the lastest versions).
  • Bower: Package manager.
  • Grunt: Task runner.
  • Less: Grade CSS extension language.

Install

For production

Just go to your DokuWiki template folder and clone the project:

cd ../dokuwiki/lib/tpl
git clone https://github.com/JuniorJEECE/DokuWiki-template.git --single-branch --branch=master

Now you have the master branch installed. But the latest commit may not be production ready! To get the latest stable version, do the following:

# Get new tags from the remote
git fetch --tags

# Get the latest tag name
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)

# Checkout the latest tag
git checkout $latestTag

Then go to your admin panel to change the template used. It is recommanded to enable CSS and Javascript compressing.

For development

  1. Install the template:
cd ../dokuwiki/lib/tpl
git clone https://github.com/JuniorJEECE/DokuWiki-template.git
  1. Then go to your admin panel to change the template used.

  2. Install node.js: download

  3. Install Bower:

sudo npm install -g bower
  1. Install Grunt:
sudo npm install -g grunt-cli
  1. Install LESS:
bower install less

Next section