12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- Installation
- ============
- - `Basic Setup <#basic-setup>`_
- - `Configuration <#configuration>`_
- - `Deplyoing <#deploying>`_
- Basic Setup
- ===========
- Virtualenv Setup
- ~~~~~~~~~~~~~~~~
- Before you can start, you need to create a `virtualenv`.
- ::
- $ mkvirtualenv flaskbb
- Required Dependencies
- ~~~~~~~~~~~~~~~~~~~~~
- Now you can install the required dependencies.
- ::
- $ pip install -r requirements.txt
- Optional Dependencies
- ~~~~~~~~~~~~~~~~~~~~~~
- We have two optional dependencies, redis (the python package is installed automatically).
- If you want to use redis, be sure that a redis-server is running.
- On Archlinux
- ------------
- ::
- # Install redis
- $ sudo pacman -S redis
- # Check if redis is already running.
- $ systemctl status redis
- # If not, start it.
- $ sudo systemctl start redis
- # Optional: Start redis everytime you boot your machine
- $ sudo systemctl enable redis
- Configuration
- =============
- Google Mail Example
- ~~~~~~~~~~~~~~~~~~~
- Local SMTP Server Example
- ~~~~~~~~~~~~~~~~~~~~~~~~~
- Deploying
- =========
- Supervisor
- ~~~~~~~~~~
- uWSGI
- ~~~~~
- nginx
- ~~~~~
|