Skip to content
This repository has been archived by the owner on Apr 12, 2018. It is now read-only.

Installation

Dylan Clement edited this page Feb 28, 2018 · 22 revisions

Requirements

  • MySQL/MariaDB
  • HTTPD Apache, 2.4 preferred
  • PHP 5.6 / 7.0+

Procedure

  1. git clone https://github.com/muonium/core.git at the root of your configuration and create a folder called nova at the same level with core.git

--root

----/core

----/nova

  1. create a database named "cloud"
  2. create an user for the "cloud" database, give it all the privileges, and exec cloud.sql in the "cloud" db.
  3. create core/config/confDB.php and configure it like in confDB.php.model:
<?php
namespace config;
class confDB {
	const host = "a.b.c.d"; //the ip of the database server, can be localhost/127.0.0.1
	const user = "user"; //mysql user who has the privileges on the DB "cloud"
	const password = "password"; //its password
	const db = "cloud"; //the DB
};
?>
  1. Do the same for core/config/confMail.php and for core/config/confPayments.php
  2. sign up at http://[...]:[...]/core/
  3. go in the "cloud" database, and go in user_validation, delete the record
  4. go at http://[...]:[...]/core/Logout
  5. close the web browser tab, open a new one and login at http://[...]:[...]/core/
  6. Normally, all is gonna be fine! ❤️

PS: enable mod_rewrite

Installer

Our might want to install Muonium in an easy way. Those scripts aren't tested often so maybe you'll get in trouble.

Clone this wiki locally