You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# Пилот подсистема рекомендательных сервисов
### Инструкция по развёртыванию проекта:
- Установите [docker ](https://docs.docker.com/engine/install/ubuntu/ )
- Установите [docker compose ](https://docs.docker.com/compose/install/ )
- Положите файлы из репозитория в папку:
- через GIT:
```bash
git clone git@gitlab.com:endwork_today/dit.git
cd dit
git submodule update --init
```
- создайте файл ```postamates/.env``` на основе файла ```postamates/.env.like```
- Запустите проект:
```sudo docker-compose up --build```
- Теперь проект доступен по адресу:
[https://REACT_APP_DOMAIN/ ](https://REACT_APP_DOMAIN/ )
- После запуска проекта создайте администратора доступа:
```sudo docker exec -it postamates_django python manage.py createsuperuser```
- Система администрирования проекта по адресу (используйте логин и пароль администратора доступа):
[https://REACT_APP_DOMAIN/admin/ ](https://REACT_APP_DOMAIN/admin/ )
### Команды для обновления проекта:
- Обновите проект и перезапустите е г о :
```bash
git pull
git submodule foreach git merge origin main
git submodule foreach git pull origin main
sudo docker stop business_spatiality_martin
sudo docker rm business_spatiality_martin
sudo docker-compose up --build
```