Changeset View
Changeset View
Standalone View
Standalone View
readme.md
| The Blender Cloud | The Blender Cloud | ||||
| ================= | ================= | ||||
| How to install | How to install | ||||
| -------------- | -------------- | ||||
| Create a Python virtualenv (1.10.1 on OSX Mavericks) and run `pip install -r requirements.txt` | Create a Python virtualenv (1.10.1 on OSX Mavericks) | ||||
| ``` | |||||
| virtualenv venv | |||||
| source venv/bin/activate | |||||
| ``` | |||||
| Make sure that the pip being used is from the virtualenv and relative to python2 and not 3. | |||||
| Run `pip install -r requirements.txt` | |||||
| Installation hints for Ubuntu | |||||
| ----------------------------- | |||||
| Possibly, you will need to install the following packages using `sudo apt-get` | |||||
| ``` | |||||
| sudo apt-get install virtualenv python-pip python-mysql python-mysqldb \ | |||||
| mysql-config mysql-server libmysqlclient-dev | |||||
| ``` | |||||
| Configure MySQL | |||||
| --------------- | |||||
| ``` | |||||
| mysql --user=root < init_bd.sql | |||||
| ``` | |||||
| Next, copy `server/config.py.example` to `server/config.py` and edit the new file as follows: | |||||
| ``` | |||||
| class Development(Config): | |||||
| SECRET_KEY='YOURSECRET' | |||||
| SERVER_NAME='127.0.0.1:5000' | |||||
| ``` | |||||
| Finally, try | |||||
| ``` | |||||
| python server/runserver.py | |||||
| ``` | |||||
| And then point you webbrowser to `http://127.0.0.1:5000` | |||||
| About configuring WSGI with MAMP PRO on OSX Mavericks | About configuring WSGI with MAMP PRO on OSX Mavericks | ||||
| ----------------------------------------------------- | ----------------------------------------------------- | ||||
| Follow this guide http://dreamconception.com/tech/install-python-support-mod_wsgi-on-mamp/ and keep in mind that Apple in MacOS X 10.8 and 10.9 breaks the ability to compile Apache modules. | Follow this guide http://dreamconception.com/tech/install-python-support-mod_wsgi-on-mamp/ and keep in mind that Apple in MacOS X 10.8 and 10.9 breaks the ability to compile Apache modules. | ||||
| Try going to: | Try going to: | ||||
| ``` | ``` | ||||
| Show All 17 Lines | |||||