How to install Musigrade
Cloud Customers (I host)
Enderbyte Programs will handle all setup of the Musigrade installation. You just need to provide the short name of your establishment adn we will send you back the URL to the installation.
Manual Customers
Setting up a manual installation allows you more flexibility and decreases price, but it requires that you set it up and update the software yourself.
WARNING - This guide requires intermediate technical knowledge!
You will need the following dependencies
- Access to a mysql (r) database server
- A web server capable of serving .php files
- An installation of PHP 8 or newer
To set up a NEW Musigrade instance, follow the following steps:
- Visit https://enderbyteprograms.net/downloads/mg/latest.zip to download the latest installation zip file.
- Unzip the latest.zip file into the directory you want Musigrade to exist in (directory should contain index.html)
- Log in to mysql, then run
create database musigrade on it (change database name if you have multiple installations)
- Visit https://enderbyteprograms.net/musigrade/installers/base-schema.sql to download the database schema file.
- Run the following command line command:
mysql -u root -p musigrade < base-schema.sql - This loads the schematics of the database on to the database server
- Choose a good password. It will be needed for later.
- Visit https://enderbyteprograms.net/musigrade/installers/fresh-install.sql to get the last installation script.
- Open that fresh-install.sql in a text editor, and make the following changes:
- Change "ACCOUNTNAME" to
mguser, but you may change it if you wish, but remember that you have changed the database user name
- Change "password" to that cool password you thought up earlier.
- Change "DB" to
musigrade (or the database name)
- Change "YOUR SCHOOL NAME" to the full name of your establishment
- Then, on the command line, run
mysql -u root -p musigrade < fresh-install.sql
- In a file manager, browse to the directory you extracted Musigrade into, then into the "api" folder.
- Open
db.json in a text editor, and make the following changes:
- Change the sqluser field to
mguser, or the account name you chose before if you chose a different one.
- Change the sqlpass field to the password you thought up before
- Change the other values if they apply to your installation setup.
- Visit the location of the app in your browser to test it.
- Log in with username = admin, password = mUsIgrAdEAdmIn$1 to gain initial access. Then, add accounts as necessary.
You may want to delete the admin user after you are done for security.