Skip to content

leanminmachine/Sonic

 
 

Repository files navigation

How to Deploy Sonic?

1) Initializing of database:

- Change api/.env file according to your PSQL specifications.
- Using PSQL command prompt, change directory into sql folder and run "\i init.sql".
- In the case when you have to reset the whole database, simply run "\i init.sql" to clean all the data.

2) Initializing of back-end server:

- Using command prompt, change directory into the api folder and run "npm install".
- Then, to start the server, run "npm start".
- In the case when you want to stop the server, run "npm stop".

3) Initializing of front-end(Customers & Riders):

- Using command prmopt, change directory into any of the 2 frontend folders in the root directory ("frontend-riders" or "customer").
- Run "npm install".
- Then, to start the server, run "npm start".
- In the case when you want to stop the server, interrupt the server using the Ctrl-C command.

4) Initializing of front-end(Staff & Managers):

- Using command prmopt, change directory into any of the 2 frontend folders in the root directory ("frontend-FDS" & "frontend-restaurantStaff").
- Run "npm install".
- Then, to start the server, run "ng serve".
- In the case when you want to stop the server, interrupt the server using the Ctrl-C command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 43.2%
  • HTML 18.9%
  • JavaScript 18.3%
  • TSQL 12.1%
  • PLpgSQL 6.7%
  • CSS 0.8%