As of 24/01/2023, here's my automated script used to create a basic working project with django 3.2, django-cms 3.11.1 and djangocms-blog using a venv
, python3
and pip
on a linux environment:
-
Just copy/paste this (will download the chunk of bad code you can see below, and then execute it):
wget https://gist.githubusercontent.com/corentinbettiol/69601ea572d6eb162ec8e838f1f923ba/raw/djangocms_installer.sh chmod +x djangocms_installer.sh bash djangocms_installer.sh echo "Thanks for using this gist\!"; select choices in "Remove djangocms_installer.sh" "Just exit"; do case $choices in "Remove djangocms_installer.sh" ) rm djangocms_installer.sh && echo "file deleted\!" || break;; "Just exit" ) echo "ok bye\!" && break;; esac; done
-
Visit
http://localhost:8000
(orhttp://localhost:8000/?edit
, user isadmin
, password isadmin
). -
Press ctrl + C to quit program (you will be asked if you want to remove the file you just downloaded).
Requirements
- bash
- python3
- python3-venv
- python3-pip
Other useful snippets: