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.
 
 
 
root 5cd97c4cfc
new frontend
3 years ago
fixtures init 3 years ago
postamates release 3 years ago
postamates_frontend@8904c7b5b4 new frontend 3 years ago
service export fix 3 years ago
templates/admin init 3 years ago
.env.like init 3 years ago
.gitignore init fixes 3 years ago
.gitlab-ci.yml ci-cd 3 years ago
.gitmodules submodule 3 years ago
Dockerfile init 3 years ago
README.md fix 3 years ago
ao_and_rayons.json release 0 3 years ago
docker-compose.yml new docker-compose.yml 3 years ago
manage.py init 3 years ago
requirements.txt add swagger 3 years ago

README.md

This file contains ambiguous Unicode characters!

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

  • Установите docker compose

  • Положите файлы из репозитория в папку:

    • через GIT:
    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/

  • После запуска проекта создайте администратора доступа: sudo docker exec -it postamates_django python manage.py createsuperuser

  • Система администрирования проекта по адресу (используйте логин и пароль администратора доступа): https://REACT_APP_DOMAIN/admin/

Команды для обновления проекта:

  • Обновите проект и перезапустите его:
    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