-
Clone repository
-
Create Virtualenv
virtualenv YOUR_VIRTUAL_ENV_NAME
-
Activate virtual environment Command Prompt
YOUR_VIRTUAL_ENV_NAME\Scripts\activate.bat
Power ShellYOUR_VIRTUAL_ENV_NAME\Scripts\activate
UNIX/Linux/Mac Terminalsource YOUR_VIRTUAL_ENV_NAME\bin\activate
-
Install dependencies (Supporting Packages) Either install individual packages Command (In virtual environment):
pip install PACKAGE_NANE
or install all packages at once from requirements.txt Command (In virtual environment):pip install -r requirements.txt
NOTE: This Command will install all the supporting packages listed inrequirements.txt
files -
Create Super User to access admin panel or use the development database.
username : admin
password : 123456
To create super admin run command, Command Prompt (In virtual environment)python manage.py createsuperuser
complete the registration of super user by adding username and password. -
Run Migrations 1. makemigrations: This Command will detect all the changes throughout the project model files Command Prompt (In virtual environment):
python manage.py makemigrations
2. migrate : This Command will add new changes to database. Command Prompt (In virtual environment):python manage.py migrate
-
Run Server Command Prompt (In virtual environment):
python manage.py runserver
-
Notifications
You must be signed in to change notification settings - Fork 0
salahoddin88/e_shop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published