Django-Startprojekt schlägt fehl, nachdem ich die Projektdateien/-ordner manuell erstellt habe (Namenskonflikt?)Python

Python-Programme
Anonymous
 Django-Startprojekt schlägt fehl, nachdem ich die Projektdateien/-ordner manuell erstellt habe (Namenskonflikt?)

Post by Anonymous »

Ich richte ein Django + Channels-Projekt ein und glaube, ich habe die Reihenfolge vermasselt.
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 .
Wenn ich django-admin startproject socialsite ausführe. Es kommt zu einem Fehler (etwas über bereits vorhandene Dateien/Ordner oder ein Konflikt).
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?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post