How to set up a Standalone Feedme system - dotkom/feedme GitHub Wiki

Preparation

Good practice in python projects is to install separate projects to separate virtual environments. Therefore, follow these steps to ensure that your packages are not conflicting with other projects.

  • Create a virtualenv virtualenv -p python2.7 /path/to/venvs/feedme_standalone/

Feedme installation

  • Source your virtualenv source /path/to/feeedme_standalone/bin/activate
  • Install requirements pip install -r standalone_requirements.txt
  • Add the following in settings.py:
  • Add to INSTALLED_APPS: 'feedme'
  • Set the following options: FEEDME_GROUP = 'yourGroupOfChoice', FEEDME_ADMIN_GROUP = 'yourAdminGroup'
  • Add the following to urls.py: url(r'^feedme/', include('feedme.urls')),
  • Set up the initial database python manage.py syncdb (This step will be changed in Django 1.7)
  • Run the server python manage.py runserver [ip:port]

Feedme configuration

This is on the ToDo-list to change, or reimplement anyways, but for now, this complicated way of doing things exist.

  • Create the groups you set in settings.py if they do not already exist
  • Add user(s) to the appropriate groups
  • Visit feedme according to your urls.py

Usage

To use Feedme, you need to add at least one restaurant. Go to feedme/admin and add a restaurant. Then you need to set up an order. Select the restaurant and the date for the order, and hit save. Make your users order!