TurtleGram
A platform to share and create Python Turtle Art
This is a prototype of a contest platform where users can create Python turtle art and share them with the world. People can also 'upvote' the python turtle art created.
Installation
To install:
Install virtualenv
and pip
.
Checkout and cd
to the directory that you checkout
$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
To run the application:
$ python turtlegram.py
Heroku Commands
To use Heroku commands, make sure you installed the Heroku toolkit, and that you are properly set up to update to Heroku
To run Heroku server locally:
$ foreman start
To push to heroku:
$ git push heroku master
To push a local branch to heroku:
$ git push heroku localbranch:master
Third-party APIs/Services
- Front-end HTML/CSS: Bootstrap 2.3.2
- Front-end MVC: AngularJS
- In-browser python interpreter: Skulpt
- In-browser code editor: CodeMirror
- Back-end persistence: Firebase
- Facebook SDK: For commenting on individual python turtle art and sharing to timeline
- Aviary Photo-editing SDK: Filters anyone?
Model
For the prototype, only one object is needed: Python Turtle Art
- python_turtle_art
- id: int
- title: string
- description: string
- code: string
- upvotes: int
- image_url: string
- creator: string
- date_created: string/int(?)
Authors
Tay Yang Shun
Soedarsono Lim