- MySQL/MariaDB
- Redis
- Composer
- HTTPD Apache, 2.4 preferred
- PHP 5.6 / 7.0+
- PHP mcrypt and curl extensions
Read the license please : here
Feel free to contribute :)
Artworks: license is this one.
If you are a security expert, you can help us to build more securely Muonium. Or, if you see a security issue or several in the code, do not hesitate to contribute.
Take a look at our cryptography details.
Follow these steps to install Muonium's server API.
- git clone https://github.com/muonium/server.git at the root of your configuration and create a folder called nova at the same level with server.git
--root
----/server
----/nova
- run this command inside server folder in order to install dependencies.
php composer.phar install
- create a database named "cloud"
- create an user for the "cloud" database, give it all the privileges, and exec cloud.sql in the "cloud" db.
- create server/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
}
?>
-
Do the same for server/config/confMail.php, for server/config/confPayments.php, for server/config/confRedis.php and for server/config/secretKey.php
-
Create a folder
public
, clone the translations, extract thewebclient
folder topublic
and rename it astranslations
.
PS: enable mod_rewrite
and mod_headers
You can find our documentation here.
Take a look at CODE_OF_CONDUCT.md and CONTRIBUTING.md.