Installation 467 B

1234567891011121314151617181920212223242526
  1. apk add git nano
  2. django-admin startproject dev_core
  3. cd dev_core
  4. python manage.py migrate
  5. python manage.py createsuperuser
  6. nano dev_core/settings.py
  7. --> ALLOWED_HOSTS = [*]
  8. python manage.py runserver 0.0.0.0:8080
  9. git clone https://dev.duhaz.fr/MrDuhaz/core.git
  10. nano dev_core/settings.py
  11. --> INSTALLED_APPS = [
  12. + 'trumbowyg',
  13. + 'crispy_forms',
  14. + 'core',
  15. rm dev_core/urls.py
  16. nano dev_core/urls.py
  17. python manage.py migrate
  18. python manage.py runserver 0.0.0.0:8080