Tardigrade is a tiny content-management environment.
We developed it as a project for a course at our university. These are the requirements our product has to fulfill:
- persistent data
- XML or JSON web services for AJAX
- authentication and registration with double opt-in
- no passwords stored as plain text
- user input validation
- i18n (optional)
A demo version is online at cansee.at.
- Flask
- Flask-SQLAlchemy
- Flask-WTF
- Flask-Login
- Flask-Themes2
- Flask-Cache
- Flask-Mail
- Flask-Script
- Pygments
- Create a virtualenv
- Install the dependencies with
pip install -r requirements.txt
- Configuration (adjust them accordingly to your needs)
- For development copy
tardigrade/development.py.example
totardigrade/development.py
- For production copy
tardigrade/production.py.example
totardigrade/production.py
- For development copy
- Create the database with some example content
python manage.py createall
- Run the development server
python manage.py runserver
- Visit localhost:8080
-
Install virtualenvwrapper with your package manager or via
sudo pip install virtualenvwrapper
-
Add these lines to your
.bashrc
export WORKON_HOME=$HOME/.virtualenvs # Location for your virtualenvs source /usr/local/bin/virtualenvwrapper.sh
-
Create a new virtualenv
mkvirtualenv -a /path/to/your/project -p $(which python2) projectname
-
and finally activate it
workon projectname
For more options visit the documentation here.