PiDash Install
Requirements
In order to run PiDash you must have the following installed:
- MySQL.
- PiDash has been tested with MySQL 5.7.x as well as MySQL 8.
- Note: If using MySQL > 5.x you must enable 5.x legacy authentication to use with PiDash.
- NodeJS
- Currently testing with node 10.16.0 and 10.13.0. Older versions should work though.
- Optional: Python - to use the configurator tool to make server/sql config files.
- Alternatively you can modify the server.config and sql.config templates below and save them in the node/config directory.
Install
-
Clone Repository
git clone https://github.com/Jayx239/PiDash.git
-
Navigate to project root directory
-
Build project
-
Create configuration files by running configurator
- Requires python, tested for v2.x.x or v3.x.x
sql.config -
{
"host": "<Db_Host_IP(ie:localhost)(optional)>",
"password": "<database_user_password>",
"user": "<database_username>",
"database": "<database_name>"
}
server.config -
{
"ip":"<host_address(optional)>",
"port":"<port_no>"
}
-
Create Database
#Navigate to config directory
cd config/
#Run config file
node ConfigureSql.js
-
Create default admin
Running PiDash
In the project node directory run:
PiDash Install
Requirements
In order to run PiDash you must have the following installed:
Install
Clone Repository
Navigate to project root directory
cd ./PiDash/node/Build project
Create configuration files by running configurator
sql.config -
{ "host": "<Db_Host_IP(ie:localhost)(optional)>", "password": "<database_user_password>", "user": "<database_username>", "database": "<database_name>" }server.config -
{ "ip":"<host_address(optional)>", "port":"<port_no>" }Create Database
Create default admin
Running PiDash
In the project node directory run: