Browse Source

Ajout de 'Installation'

MrDuhaz 10 months ago
parent
commit
809631cfc4
1 changed files with 26 additions and 0 deletions
  1. 26 0
      Installation

+ 26 - 0
Installation

@@ -0,0 +1,26 @@
+apk add git nano
+
+django-admin startproject dev_core
+cd dev_core
+
+python manage.py migrate
+python manage.py createsuperuser
+
+nano dev_core/settings.py
+-->	ALLOWED_HOSTS = [*]
+
+python manage.py runserver 0.0.0.0:8080
+
+git clone https://dev.duhaz.fr/MrDuhaz/core.git
+
+nano dev_core/settings.py
+-->	INSTALLED_APPS = [
++	'trumbowyg',
++	'crispy_forms',
++	'core',
+
+rm dev_core/urls.py
+nano dev_core/urls.py
+
+python manage.py migrate
+python manage.py runserver 0.0.0.0:8080