Setup - xdxdVSxdxd/DataMeditation GitHub Wiki
Setting up is pretty straightforward:
1) Download and extract
Clone the Data Meditation GitHub repository to a folder in your web server's document root. Or you can also download the ZIP file and unzip it.
This folder in which you will have the files will be the folder from where you will run the Data Meditations. (refer to the documentation for your web server of choice to understand how this works. As of now we're either running instances off NGINX and Apache servers)
requirements
you will need to have installed on your server:
2) Create database and configure
Create a MySQL database and a user on the database with full access on your server. (To do it, refer to MySQL's Documentation).
In the API folder, duplicate the dm.config.example and remove the .example extension from it, obtaining a dm.config file.
Edit it and use the information from the database and user you have just created to fill it in (ex: [DB NAME] becomes your database name, [DB USER] becomes the user, and so on. Remember to remove the brackets)
IMPORTANT NOTE: remember to protect, at least in this directory, the files with a .config extension, or you could compromise your server's security. On NGINX, for example, even a simple location /API/dm.config { deny all; } in your configuration would serve this purpose.
Move to the SQLModel folder and use the mysql to access your newly created database.
At the prompt to \. DataMeditation.sql to run the script that creates the DB.
3) Done
You can continue to Configure and Participate