Skip to content

Instantly share code, notes, and snippets.

@vivekrk1992
Created May 3, 2018 12:24
Show Gist options
  • Save vivekrk1992/7d39b724c3c5a13ff1fa6eacc8e11209 to your computer and use it in GitHub Desktop.
Save vivekrk1992/7d39b724c3c5a13ff1fa6eacc8e11209 to your computer and use it in GitHub Desktop.
configur django with mezzanine
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