Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lebedevsergeyvach/websiteproductplacement
The project is written on the Django framework. The backend is written in python. Frontend is written using bootstrap. This is a website where anyone who wants to register can place an ad.
https://github.com/lebedevsergeyvach/websiteproductplacement
bootstrap django docker docker-compose python server website
Last synced: about 1 month ago
JSON representation
The project is written on the Django framework. The backend is written in python. Frontend is written using bootstrap. This is a website where anyone who wants to register can place an ad.
- Host: GitHub
- URL: https://github.com/lebedevsergeyvach/websiteproductplacement
- Owner: LebedevSergeyVach
- License: agpl-3.0
- Created: 2023-07-01T22:51:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-04T16:45:40.000Z (5 months ago)
- Last Synced: 2024-08-05T07:57:20.422Z (5 months ago)
- Topics: bootstrap, django, docker, docker-compose, python, server, website
- Language: Python
- Homepage:
- Size: 51.1 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The project is written on the [Django](https://www.djangoproject.com) framework.
The backend is written in [python](https://www.python.org).
Frontend is written using [bootstrap](https://getbootstrap.com).
This is a website where anyone who wants to register can place an ad.
π The stack of technologies used
___
# Links and versions to the website
### [Lebedev Sergey Vyacheslav](https://github.com/LebedevSergeyVach) β Product Lead & Fullstack Python-Developer.
### [Website Serphantom](https://serphantom.space) - a link to a website located on its server with a white (external) ip address connected. A fresh and constantly updated version of the site.### At the moment, the website is occupied by another service - [Serphantom Application](https://github.com/LebedevSergeyVach/SerphantomApplication)
___
# Project deployment on the server [Debian](https://www.debian.org).
#### Download a project.
```commandline
git clone [email protected]:LebedevSergeyVach/WebsiteProductPlacement.git
```
#### The command for configuring and migrating the project database on the Django framework on the server.
```commandline
python manage.py makemigrations
```
```commandline
python manage.py migrate
```
#### Creating and configuring a website administrator.
```commandline
python manage.py createsuperuser
```
#### The command to start the rebuild of the docker site on the server [Debian](https://www.debian.org).
```commandline
sudo docker compose -f "./docker-compose.yml" build --force-rm --no-cache
```
#### The command to run the site docker build on the server [Debian](https://www.debian.org).
```commandline
sudo docker compose -f "./docker-compose.yml" up
```
#### Clearing dockers data and file cache.
```commandline
sudo docker builder prune
```
___## Documentation for each directory
* `The main application of the framework` - [advertisements](advertisements%2Fadvertisements%2FREADME.md)
* `The main application of the project` - [app advertisements](advertisements%2Fapp_advertisements%2FREADME.md)
* `Authorization application` - [app auth](advertisements%2Fapp_auth%2FREADME.md)
* `Project Template Directory` - [templates](advertisements%2Ftemplates%2FREADME.md)
* `Directory of static project files` - [static](advertisements%2Fstatic%2FREADME.md)
* `The directory of the project's media files` - [media](advertisements%2Fmedia%2FREADME.md)## List of the main commands used in the project
* `Project Console commands` - [commands](advertisements%2FREADME.md)
---
#### [README](README.md) [UP](#up)
---
# Π Π°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Π½Π° Π²Π΅Π±-ΡΠ°ΠΉΡΠ΅
ΠΡΠΎΠ΅ΠΊΡ Π½Π°ΠΏΠΈΡΠ°Π½ Π½Π° ΡΡΠ΅ΠΉΠΌΠ²ΠΎΡΠΊΠ΅ [Django](https://www.djangoproject.com).
ΠΡΠΊΠ΅Π½Π΄ Π½Π°ΠΏΠΈΡΠ°Π½ Π½Π° [Python](https://www.python.org).
Π€ΡΠΎΠ½ΡΠ΅Π½Π΄ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π½ Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ [Bootstrap](https://getbootstrap.com).
ΠΡΠΎ Π²Π΅Π±-ΡΠ°ΠΉΡ, Π½Π° ΠΊΠΎΡΠΎΡΠΎΠΌ Π»ΡΠ±ΠΎΠΉ ΠΆΠ΅Π»Π°ΡΡΠΈΠΉ, ΠΏΠΎΡΠ»Π΅ ΠΏΡΠΎΡ ΠΎΠΆΠ΄Π΅Π½ΠΈΡ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅Ρ ΡΠ°Π·ΠΌΠ΅ΡΡΠΈΡΡ ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠ΅ ΠΎ ΠΏΡΠΎΠ΄Π°ΠΆΠ΅ ΡΠΎΠ²Π°ΡΠ° ΠΈΠ»ΠΈ ΡΡΠ»ΡΠ³ΠΈ.
π Π‘ΡΠ΅ΠΊ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌΡΡ ΡΠ΅Ρ Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ
---
# Π‘ΡΡΠ»ΠΊΠΈ ΠΈ Π²Π΅ΡΡΠΈΠΈ Π²Π΅Π±-ΡΠ°ΠΉΡΠ°
### [ΠΠ΅Π±Π΅Π΄Π΅Π² Π‘Π΅ΡΠ³Π΅ΠΉ ΠΡΡΠ΅ΡΠ»Π°Π²ΠΎΠ²ΠΈΡ](https://github.com/LebedevSergeyVach) β Π ΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΏΡΠΎΠ΄ΡΠΊΡΠ° ΠΈ Fullstack Python-ΡΠ°Π·ΡΠ°Π±ΠΎΡΡΠΈΠΊ.
### [ΠΠ΅Π±-ΡΠ°ΠΉΡ Serphantom](https://serphantom.space) - ΡΡΡΠ»ΠΊΠ° Π½Π° Π²Π΅Π±-ΡΠ°ΠΉΡ, ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Π½ΡΠΉ Π½Π° ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠΌ ΡΠ΅ΡΠ²Π΅ΡΠ΅ Ρ Π±Π΅Π»ΡΠΌ (Π²Π½Π΅ΡΠ½ΠΈΠΌ) IP-Π°Π΄ΡΠ΅ΡΠΎΠΌ. Π‘Π²Π΅ΠΆΠ°Ρ ΠΈ ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎ ΠΎΠ±Π½ΠΎΠ²Π»ΡΠ΅ΠΌΠ°Ρ Π²Π΅ΡΡΠΈΡ ΡΠ°ΠΉΡΠ°.### ΠΠ° Π΄Π°Π½Π½ΡΠΌ ΠΌΠΎΠΌΠ΅Π½Ρ Π²Π΅Π±-ΡΠ°ΠΉΡ Π·Π°Π½ΡΡ Π΄ΡΡΠ³ΠΈΠΌ ΡΠ΅ΡΠ²ΠΈΡΠΎΠΌ - [Serphantom Application](https://github.com/LebedevSergeyVach/SerphantomApplication)
---
## Π Π°Π·Π²Π΅ΡΡΡΠ²Π°Π½ΠΈΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΠ° Π½Π° ΡΠ΅ΡΠ²Π΅ΡΠ΅ [Debian](https://www.debian.org).
#### ΠΠ°Π³ΡΡΠ·ΠΊΠ° ΠΏΡΠΎΠ΅ΠΊΡΠ°.
```commandline
git clone [email protected]:LebedevSergeyVach/WebsiteProductPlacement.git
```
#### ΠΠΎΠΌΠ°Π½Π΄Π° Π΄Π»Ρ Π½Π°ΡΡΡΠΎΠΉΠΊΠΈ ΠΈ ΠΌΠΈΠ³ΡΠ°ΡΠΈΠΈ Π±Π°Π·Ρ Π΄Π°Π½Π½ΡΡ ΠΏΡΠΎΠ΅ΠΊΡΠ° Π½Π° ΡΡΠ΅ΠΉΠΌΠ²ΠΎΡΠΊΠ΅ Django Π½Π° ΡΠ΅ΡΠ²Π΅ΡΠ΅.
```commandline
python manage.py makemigrations
```
```commandline
python manage.py migrate
```
#### Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΠΈ Π½Π°ΡΡΡΠΎΠΉΠΊΠ° Π°Π΄ΠΌΠΈΠ½ΠΈΡΡΡΠ°ΡΠΎΡΠ° Π²Π΅Π±-ΡΠ°ΠΉΡΠ°.
```commandline
python manage.py createsuperuser
```
#### ΠΠΎΠΌΠ°Π½Π΄Π° Π΄Π»Ρ Π·Π°ΠΏΡΡΠΊΠ° ΡΠ±ΠΎΡΠΊΠΈ ΡΠ°ΠΉΡΠ° Π² docker Π½Π° ΡΠ΅ΡΠ²Π΅ΡΠ΅.
```commandline
sudo docker compose -f "./docker-compose.yml" build --force-rm --no-cache
```
#### ΠΠΎΠΌΠ°Π½Π΄Π° Π΄Π»Ρ Π·Π°ΠΏΡΡΠΊΠ° docker-ΡΠ±ΠΎΡΠΊΠΈ ΡΠ°ΠΉΡΠ° Π½Π° ΡΠ΅ΡΠ²Π΅ΡΠ΅.
```commandline
sudo docker compose -f "./docker-compose.yml" up
```
#### ΠΡΠΈΡΡΠΊΠ° Π΄Π°Π½Π½ΡΡ docker ΠΈ ΡΠ°ΠΉΠ»ΠΎΠ²ΠΎΠ³ΠΎ ΠΊΡΡΠ°.
```commandline
sudo docker builder prune
```---
## ΠΠΎΠΊΡΠΌΠ΅Π½ΡΠ°ΡΠΈΡ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π°
* `ΠΠ»Π°Π²Π½ΠΎΠ΅ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΡΡΠ΅ΠΉΠΌΠ²ΠΎΡΠΊΠ°` - [advertisements](advertisements%2Fadvertisements%2FREADME.md)
* `ΠΡΠ½ΠΎΠ²Π½ΠΎΠ΅ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΠ°` - [app advertisements](advertisements%2Fapp_advertisements%2FREADME.md)
* `ΠΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠ°` - [app auth](advertisements%2Fapp_auth%2FREADME.md)
* `ΠΠΈΡΠ΅ΠΊΡΠΎΡΠΈΡ ΡΠ°Π±Π»ΠΎΠ½ΠΎΠ² ΠΏΡΠΎΠ΅ΠΊΡΠ°` - [templates](advertisements%2Ftemplates%2FREADME.md)
* `ΠΠΈΡΠ΅ΠΊΡΠΎΡΠΈΡ ΡΡΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΡ ΡΠ°ΠΉΠ»ΠΎΠ² ΠΏΡΠΎΠ΅ΠΊΡΠ°` - [static](advertisements%2Fstatic%2FREADME.md)
* `ΠΠΈΡΠ΅ΠΊΡΠΎΡΠΈΡ ΠΌΠ΅Π΄ΠΈΠ° ΡΠ°ΠΉΠ»ΠΎΠ² ΠΏΡΠΎΠ΅ΠΊΡΠ°` - [media](advertisements%2Fmedia%2FREADME.md)## Π‘ΠΏΠΈΡΠΎΠΊ ΠΎΡΠ½ΠΎΠ²Π½ΡΡ ΠΊΠΎΠΌΠ°Π½Π΄, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌΡΡ Π² ΠΏΡΠΎΠ΅ΠΊΡΠ΅
* `ΠΠΎΠ½ΡΠΎΠ»ΡΠ½ΡΠ΅ ΠΊΠΎΠΌΠ°Π½Π΄Ρ ΠΏΡΠΎΠ΅ΠΊΡΠ°` - [commands](advertisements%2FREADME.md)___
#### [README](README.md) [ΠΠΠΠ Π₯](#Π²Π²Π΅ΡΡ )