| 1 | | = Build Instructions |
| | 1 | == Build Instructions |
| | 2 | |
| | 3 | For runing the program, you need to have the program files downloaded on a computer. The computer files are available at the following link: |
| | 4 | |
| | 5 | https://github.com/klimentinaefremova/Handcraft-Marketplace.git |
| | 6 | |
| | 7 | In your terminal, open the folder. After opening run the following command to install all of the requirements. |
| | 8 | |
| | 9 | {{{#!cmd |
| | 10 | npm install |
| | 11 | }}} |
| | 12 | |
| | 13 | Once all dependencies are install, run this command: |
| | 14 | |
| | 15 | {{{#!cmd |
| | 16 | npm start |
| | 17 | }}} |
| | 18 | |
| | 19 | The program will run on localhost:3000. Don't close the window in Command Prompt while you're using the project. |
| | 20 | |
| | 21 | You can open another window in the terminal and rund the following command multiple times to see the database and the changes being made in it. |
| | 22 | |
| | 23 | {{{#!cmd |
| | 24 | node view-database.js |
| | 25 | }}} |
| | 26 | |