- Use Visual Studio 2022 to open the Bakery.sln file in the root directory;
- Select the project Bakery.Site and run it;
- Open http://localhost:5050 with your browser.
- The project will generate test data when it starts for the first time.
- Start the command line and go to the project Bakery.Site directory (containing the Dokerfile file);
- Run the command docker build -f Dockerfile -t bakerysite/test . && docker run -p 5050:80 --name bakerysite_test bakerysite/test
- Open http://localhost:5050 with your browser
- Test data will be generated when the project starts for the first time
You can view the product list and product details
You can communicate with Bob to order products through the email button at the bottom right corner of the display screen (requires customer's computer to have email app)
http://localhost:5050/?template=1
http://localhost:5050/?template=2
Account: Bob
Password: Bob's_Bakery
Please pay attention to the letter case, the account password does not contain spaces
Site Name Website description Website Logo Customer Service Email Website template (currently there are two sets of templates)
Products can be temporarily hidden and not displayed on the display page Commodities can be freely uploaded and modified icons Commodity can set the price and cost to facilitate later sales bookkeeping
System configuration file
/App_Data/Config.json
Sqlite database file
/App_Data/Data.db
Uploaded files directory
/Upload