Tateology / kaeru

Everything kaeru
0 stars 8 forks source link

Create project environment #11

Closed fabianmuehlboeck closed 9 years ago

fabianmuehlboeck commented 9 years ago

@lk432 The basic files of the page should be set up in a way that lets each team member work locally on their computer, ideally with no necessary changes to any configuration when synchronizing with the repository.

If we're using the already set up python/django site, does that work on everyone's computer? Should we upgrade to python>3.0/some newer django version?

tvck commented 9 years ago

Guideline

Install Python 2.7

Install Django 1.7

Install pip

python get-pip.py

Install Django

sudo pip install Django==1.7.7

For windows:

pip install Django==1.7.7

Check for successful installation

>>> import django
>>> django.VERSION
(1, 7, 7, 'final', 0)

Create database(SQLite3)

python manage.py migrate

Inspect created database

python manage.py inspectdb >db.txt

Verify project works

python manage.py runserver
HaywardMorihara commented 9 years ago

error

Getting this error when I try to run "python manage.py migrate" Is there something I else I need to do?

Sorry it took me soo long to actually try this

fabianmuehlboeck commented 9 years ago

My bad, I totally missed Lingbo's pull request that fixed that.

HaywardMorihara commented 9 years ago

Working now!