浏览代码

Added script

Nastya 1 年之前
父节点
当前提交
9e48b13b23
共有 2 个文件被更改,包括 18 次插入0 次删除
  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