Browse Source

Added script

Nastya 1 year ago
parent
commit
9e48b13b23
2 changed files with 18 additions and 0 deletions
  1. 0 0
      install_unix.sh
  2. 18 0
      install_win.sh

+ 0 - 0
install.sh → install_unix.sh


+ 18 - 0
install_win.sh

@@ -0,0 +1,18 @@
+#bush install.sh
+python -m venv env
+
+source env/Scripts/activate
+
+python -m pip install -U pip
+
+pip install -r requirements.txt
+
+python manage.py makemigrations
+
+python manage.py migrate
+
+python manage.py collectstatic
+
+python manage.py createsuperuser
+
+deactivate