It's like django's cms, a python web framework, that makes it easy to create web pages, like wordpress. (Not very detailed lol)
$ sudo apt-get update
$ sudo apt-get install git gcc make openssl libssl-dev libbz2-dev libreadline-dev libsqlite3-dev
$ git clone git://github.com/yyuu/pyenv.git ~/.pyenv
Then write the following in .bashrc
.bashrc
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
After calling, the following command! !! !! !!
$ source ~/.bashrc
You are now ready to use pyenv
http://www.takunoko.com/blog/ubuntu%E3%81%ABpython%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82/
$ sudo pyenv install 3.5.2
$ sudo pyenv global 3.5.2
$ pip install mezzanine
I entered with this Then make a project!
$ mezzanine-project myproject
$ cd myproject
Create db ↓
$ python manage.py createdb
You should be able to do this! !! !! Check the rest!
$ python manage.py runserver 0.0.0.0:8000
http://qiita.com/itkr/items/c6c26f55a292f3e39241
With this, if you can access the cloud ip: 8000 and display it, it's OK
When I put in pyenv and did it, the version of pip was not the latest, so
$ pip install --upgrade pip
Then, I couldn't install mezzanine for some reason, so I was worried. It can be done without updating, so we recommend that you do not.
Recommended Posts