To begin working on the project:
- Clone the project to your computer. If you are new to github, search how to clone the project in Github
- After cloning, navigating to the project in your computer, run the following command (at the root of your project folder): npm install If you don't have npm, search how to install npm (Node Package Manager)
- Then, at the root of your project folder, run: npm start This will start the website
To setup Node.js server:
At the root of the project (using terminal or command prompt):
- Type: cd server/ # navigate to the "server" folder
- Type: npm install # This will install server dependency
- Type: cp server_database_example.js server_database.js # create a copy of server_database_example.js named server_database.js
- Open the server_database.js and modified the configuration based on your mysql connection
- Type: npm start # This will start the server
Using command line (terminal) to login to your mysql server:
- Type: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Password';
- Type: FLUSH PRIVILIGES;