Welcome to the Tangelo, the Web Application Platform for Python Programmers!¶
This document describes all the pieces that fit together to make Tangelo work.
Make sure you have Python 2.7 and Pip installed (on Linux and OS X systems, your local package manager should do the trick; for Windows, see here).
Open a shell (e.g. Terminal on OS X; Bash on Linux; or Command Prompt on Windows) and issue this command to install the Tangelo package:
pip install tangelo
(On UNIX systems you may need to do this as root, or with
Issue this command to start Tangelo, serving the example pack:
Visit your Tangelo instance at http://localhost:8080.
Follow these steps to create an extremely simple Tangelo application:
$ mkdir hello $ cd hello $ vim helloworld.py
import datetime def run(): return "hello, world - the current time and date is: %s\n" % (datetime.datetime.now())
$ tangelo --port 8080 $ curl http://localhost:8080/helloworld hello, world - the current time and date is: 2015-03-31 14:29:44.29411
- Setup and Administration
- Basic Usage
- Tangelo Web Services
- Tangelo Plugins