Installing Dandelion
Requirements
- Apache or Nginx web server
- mod_rewrite must be enabled for Apache
- PHP >= 5.4.0
- MySQL/Maria DB
Dandelion has only been tested on Ubuntu with Apache and Nginx. Other combos may work but YMMV.
Install From Build - Easiest
Installing Dandelion is an easy and simple task. Just follow these steps and you’ll be up and running in no time.
- Download the latest version from the Releases page.
- Extract the archive where ever you like
- Create a database in MySQL/MariaDB to house Dandelion.
- Setup your web server to use the public directory under Dandelion as its root. Under the app/install directory is a sample configuration for Nginx and Apache2. For apache, you will need to enable mod_rewrite and install the apache2 PHP5 module. For Nginx, you will need to install the php-fpm package.
- Browse to
http://[dandelion server]/install.php
. - Fill out the information, asterisks mark required fields.
- Click Finish Install
-
If it was successful, you’ll be redirected to the login page of Dandelion. Login with:
Username: admin Password: admin
and change the password when prompted.
- Congratulations! You’ve now installed Dandelion. Go and make your first log.
Example (Ubuntu, Nginx):
Now browse to http://[dandelion hostname]/install.php
to finish the installation.
Install From Source - Installer Page
Installing Dandelion is an easy and simple task. Just follow these steps and you’ll be up and running in no time.
- Grab a copy of Dandelion of Github.
- Run
composer install --no-dev
from the root Dandelion directory. If you don’t have Composer installed please see the Getting Started guide. This will install PHP dependencies. - Run
npm install && ./node_modules/.bin/gulp
. This will compile the TypeScript and stylesheets. - Create a database in MySQL/MariaDB to house Dandelion.
- Setup your web server to use the public directory under Dandelion as its root. Under the app/install directory is a sample configuration for Nginx and Apache2. For apache, you will need to enable mod_rewrite and install the apache2 PHP5 module. For Nginx, you will need to install the php-fpm package.
- Browse to
http://[dandelion server]/install.php
. - Fill out the information, astericks mark required fields.
- Click Finish Install
-
If it was successful, you’ll be redirected to the login page of Dandelion. Login with:
Username: admin Password: admin
and change the password when prompted.
- Congratulations! You’ve now installed Dandelion. Go and make your first log.
Example (Ubuntu, Nginx):
Now browse to http://[dandelion hostname]/install.php
to finish the installation.
Install From Source - Completely Manually
Sometimes we just want to do things ourselves. And that’s fine! Here’s the verbose way of installing Dandelion without using our install page.
- Grab a copy of Dandelion off GitHub. Either via a source download from the web UI or from the git command.
- Import the file
mysql_schema.sql
located under the app/install directory into a database table. Dandelion currently only supports MySQL/MariaDB. Supporting other databases is in the works. - Copy
config.sample.php
under app/config toconfig.php
under the same folder. Use your favorite text editor (ie. Vim) and edit the configuration to fit your environment. The comments in the file explain what each setting is. Also look at theconfig.defaults.php
to see all available options. Don’t change the defaults file, make any changes in your own config file. - Run
composer install --no-dev
from the root Dandelion directory. If you don’t have Composer installed please see the Getting Started guide. - Run
npm install && ./node_modules/.bin/gulp
. This will compile the javascript and stylesheets. - Setup your web server to use the public directory under Dandelion as its root. Under the app/install directory is a sample configuration for Nginx and Apache2. For apache, you will need to enable mod_rewrite and install the apache2 PHP5 module. For Nginx, you will need to install the php-fpm package.
-
Browse to your Dandelion install in a web browser and login with:
Username: admin Password: admin
- Dandelion will prompt you to change the password, change it to something you’ll remember then login again.
- Congratulations! You’ve now installed Dandelion. Go and make your first log.