-
Notifications
You must be signed in to change notification settings - Fork 0
Installing
For the purposes of this guide, I will assume you're running apache and MySQL.
You can start off by moving to your web server's default directory:
cd /var/www
Now, clone the Mxious source into the current working directory (this method will install it so it is accessible like http://localhost/Mxious):
git clone https://github.com/Mxious/Mxious.git
Next, you need to prepare your database for Mxious' information. Start off by downloading the Mxious source and opening a MySQL console.
mysql -u {username}
Enter the following into the MySQL console to create the mxious database.
mysql> create database mxious;
mysql> exit
Then load the dump into our fresh database. The dump will be located inside the tools/sql subdirectory.
mysql -u {username} mxious < ./mxious.sql
Your next step will be to tell Mxious some information about your database server. Change directories into your Mxious folder:
cd ./Mxious
Fire up your favorite text editor (nano in this case) and edit ``./application/config/database.sample`.
Fill in your details.
Then, after this, DUPLICATE (important for Git development environments) and rename the duplicate using the php file extension.
Same procedure with config.sample.
At this point, fire up http://localhost/Mxious in your browser. Hopefully you should see no errors! Create yourself an account to use as an admin.
Log in to your MySQL shell again and issue the following command to set your account as an admin:
use mxious;
update users set employee=1 where username="{username}";
That's it! Congratulations, you've successfully installed a development copy of Mxious!