Оnline glasses store offering basic features for users. The project is built on an SSR architecture and includes four applications: products, users, orders, and uses Function-Based Views (FBV).
- Python
- Django
- PostgreSQL
Additional libraries are specified in the requirements.txt file.
To begin, install: Python | PostgreSQL
Links are provided to the latest version of the tools.
Create a root directory on your computer, then open it in your code editor or terminal.
Next, write this command into the command line:
git clone https://github.com/S0fft/Sglass-Shop.git .You will see the project files appear in your directory.
Create a virtual environment:
python -m venv .venvAnd activate it:
.venv\Scripts\ActivateNext, install packages:
python.exe -m pip install --upgrade pippip install -r requirements.txtUsing Migrations to Create a Database Structure
python manage.py migrateThen, run server:
python manage.py runserverAfter starting the server, you can access the application by navigating to http://127.0.0.1:8000 in your browser.
These commands do the same thing as described above but only on Unix systems:
Install: Python | PostgreSQL
Link are provided to the latest version of the tools.
Create a root directory on your computer, then open it in your code editor or terminal.
Next, write this command into the command line:
git clone https://github.com/S0fft/Sglass-Shop.git .You will see the project files appear in your directory.
python3 -m venv ./venvsource ./venv/bin/activatepython3 -m pip install --upgrade pippip install -r requirements.txtUsing Migrations to Create a Database Structure
python3 manage.py migrateThen, run server:
python3 manage.py runserverAfter starting the server, you can access the application by navigating to http://127.0.0.1:8000 in your browser.