Commit b96dbc6e authored by Maya Metodieva's avatar Maya Metodieva
Browse files

Update README.md

No related merge requests found
Showing with 13 additions and 1 deletion
+13 -1
How to start the program:
1. Download portable MySQL database from https://dev.mysql.com/downloads/mysql/.
2. Unzip the file mysql-8.0.33-winx64.zip.
3. Create empty folder "data" in the same directory.
4. Navigate to /bin directory and open terminal.
5. Execute the command .\mysqld --initialize to initialize the newly created "data folder".
6. In /bin directory create a change_mysql_pwd.txt file and paste the following code snippet "ALTER USER 'root'@'localhost' IDENTIFIED BY '{password-placeholder}';" to create a temporary password.
7. Execute the command ./mysqld.exe --init-file={path-placeholder}\change_mysql_pwd.txt
8. Download a database management studio of your choice to establish a connection with the database.
9. Import the given SQL script in the directory /DB to create the needed tables.
10. Nvigate to the project directory /ShoppingCart/shoppingcart.
11. Open terminal and run "./gradlew bootRun" to start the program.
12. The result will be presented on address http://localhost:8080.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment