Ich habe diese Befehle ausgeführt:
Code: Select all
cd ~
mkdir social_mvp
cd social_mvp
mkdir socialsite
mkdir core
mkdir -p core/templates/core
mkdir -p core/static/core/css
touch manage.py requirements.txt
touch socialsite/__init__.py socialsite/settings.py socialsite/urls.py socialsite/wsgi.py socialsite/asgi.py
python3 -m venv venv
source venv/bin/activate
pip install django channels
django-admin startproject socialsite .
Wie geht das richtig?
Sollte ich manage.py und den Ordner „socialsite/“ nicht zuerst manuell erstellen? Was ist die richtige Befehlsreihenfolge für Django + Channels?
Mobile version