Created
May 3, 2018 12:24
-
-
Save vivekrk1992/7d39b724c3c5a13ff1fa6eacc8e11209 to your computer and use it in GitHub Desktop.
configur django with mezzanine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clone mezzanine any directory | |
``` | |
https://github.com/stephenmcd/mezzanine.git | |
``` | |
create you virtualenv for your project | |
``` | |
virtualenv -p /usr/local/bin/python3.6 virtual_project_name | |
``` | |
activate your source | |
``` | |
source virtual_project_name/bin/activate | |
``` | |
navigate your cloned mezzanine directory | |
``` | |
cd mezzanine | |
``` | |
install mezzanine for this virtual env | |
``` | |
python setup.py install | |
``` | |
create mezzanine project(note project name doesnot support '-' so use '_') | |
``` | |
mezzanine-project project_name | |
``` | |
create mezzanine app like django create app(the mezzanine cmd purpose use only create project other than it works | |
``` | |
python manage.py startapp appname | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment