-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Mubassir Hasan edited this page Oct 26, 2018
·
1 revision
- First thing first. Go to appsettings.json then change server name if you want to as Visual Studio Local DB Then leave it as it is.
- Go to Package Manager Console> run command
update-database
- Now you can run this application.
- For adding 'Admin' go to
StartUp.cs
and uncomment the lineIdentityDbInitializer.SeedData(userManager,roleManager);
after that admin account will created. -> if you want to modify admin info goto/Ecommerce_MVC_Core/Code/IdentityDbInitializer.cs
- After Running the application now you can login as a Admin and access admin panel
for login info
username:
admin
password:12345678
# If You want to see Default layout logout to admin account
- Add Brand.
- Add Unit
- Add Category and then finally add Product
or if you want to add your custom product change to category name in HomeController Index method. **Note: Add products named in up categories **
Go to Refference tab
- Add Country first
- City
- Loacation
Setup Payment method in Orders tab