Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

# Website Product Placement

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




django logo

bootstrap logo

python logo

poetry logo

html logo

sqlite logo

debian logo

___

# 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).
Π­Ρ‚ΠΎ Π²Π΅Π±-сайт, Π½Π° ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΌ любой ΠΆΠ΅Π»Π°ΡŽΡ‰ΠΈΠΉ, послС прохоТдСния рСгистрации, ΠΌΠΎΠΆΠ΅Ρ‚ Ρ€Π°Π·ΠΌΠ΅ΡΡ‚ΠΈΡ‚ΡŒ объявлСниС ΠΎ ΠΏΡ€ΠΎΠ΄Π°ΠΆΠ΅ Ρ‚ΠΎΠ²Π°Ρ€Π° ΠΈΠ»ΠΈ услуги.

πŸš€ Π‘Ρ‚Π΅ΠΊ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅ΠΌΡ‹Ρ… Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ




django logo

bootstrap logo

python logo

poetry logo

html logo

sqlite logo

debian logo

---

# Бсылки ΠΈ вСрсии Π²Π΅Π±-сайта
### [Π›Π΅Π±Π΅Π΄Π΅Π² Π‘Π΅Ρ€Π³Π΅ΠΉ ВячСславович](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) [Π’Π’Π•Π Π₯](#Π²Π²Π΅Ρ€Ρ…)