Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Latest commit

 

History

History
57 lines (32 loc) · 1.04 KB

README.md

File metadata and controls

57 lines (32 loc) · 1.04 KB

tulsa-food-trucks

requirements

  • future requirements

    • PostgresSql
    • PostGIS
    • Python friendly environment
  • current requirements

    • a db of some sort
    • python

Installation

Basic installation

Setup a virtual environment if you need to.

Copy the settings_local.template.py_file loaded in the tft/tft directory to settings_local.py

Edit the settings file with any local settings, update the default database to a mysql or sqlite one for now.

change to the tft directory

$ ./manage.py syncdb

to create initial user and settings

$ ./manage.py migrate

to get all the other models setup.

You should be able to use runserver to start things up.

$ ./manage.py runserver

These instructions may not be correct…

Install Postgres and PostGist on OSX

this may not work currently

https://gist.github.com/3188632

if on OSX 10.8 when installing postgresql

$ brew install postgresql9 --without-ossp-uuid

then

$ brew install postgis15