Giter Site home page Giter Site logo

videntity / tweatwell Goto Github PK

View Code? Open in Web Editor NEW
1.0 6.0 0.0 21.71 MB

A dietary microblog game with Twitter integration designed for a college wellness campaign for West Virginia University.

Home Page: http://videntity.com

License: Other

Python 79.51% JavaScript 13.40% CSS 6.95% Ruby 0.14%

tweatwell's Introduction

Tweatwell: Food Tracking Microblog Game

Copyright 2011-2015 Videntity Systems, Inc.

Tweatwell is a web-based food microblog tracking game written in Django. The goal of the game is to encourage a plant based diet amongst a college student population. Eat Healthy, Live Long, and Tweat Well.

Installation:

Tweatwell is written in Python 2.7 and Django 1.6.1 and has some other dependencies.

Here is a quickstart guide to setup a development environment.

sudo apt-get install git-core python-dev python-imaging build-essential python-pip memcached libmemcached-dev zlib1g-dev
git clone git://github.com/aviars/tweatwell.git
cd tweatwell
sudo pip install -r tweatwell/requirements.txt

Running the Development Server:

Here's how to create the database and start the Django's devlopment server environment. You should also use virtualenv and virtualenvwrapper when developing in Python.

python manage.py syncdb
python manage.py runserver

Now point your browser to http://127.0.0.1:8000 and you should see the startup page. Note you will need to adjust some settings in settings.py for your own environment. These mainly include your email and database server settings. You may use any database that is supported by Django. These include PostgreSQL, MySQL, SQLite, and Oracle. The default is SQLite.

Production Configuration using Apache and modWSGI

Production Django configuration can be done in many ways and an exhaustive explanation is beyond the scope of these setup instructions. The information provided here is just provided as a quick jumpstart. More detailed documentation may be found at http://djangoproject.org.

sudo apt-get install apache2 libapache2-mod-wsgi
cd tweatwell
cp config/settings_local.py .

You need to modify the file '/etc/apache2/sites-available/default'. You need to add this line to the VirtualHost on which you want to run the application.

WSGIScriptAlias / /home/ubuntu/django-apps/tweatwell/config/apache/django.wsgi

If you are using SQLite, make sure the db folder is readable and writeable by the webserver.

cd tweatwell
python manage.py syncdb
sudo chmod -R 777 db

Restart the Apache webserver:

sudo apache2ctl restart

License:

Tweatwell has a dual license. You may use either GPL or a commercial license. You may use this software for free under the GPL for educational and non-profit activities only. If you want to use this software, its direvative works, for commercial purposes you must use the commercial license agreement. The commercial license comes with support and allows greater freedoms than the GPL.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.