Permalink
Browse files

initial import

  • Loading branch information...
0 parents commit 157ab27b8f8b31fcf25b4ae007eb7b877c713303 @wuxxin wuxxin committed Nov 26, 2010
Showing 890 changed files with 77,152 additions and 0 deletions.
@@ -0,0 +1,5 @@
+repo: d649661a01cd230c1087fad4b5dafb5588cbad66
+node: 1b7d419fbe4e5a9208af3afb621dc8802cf7c7a1
+branch: oss
+latesttag: null
+latesttagdistance: 2987
20 AUTHORS
@@ -0,0 +1,20 @@
+====
+Team
+====
+
+Johannes Dollinger <emulbreh@googlemail.com>
+Felix Erkinger <felix@erkinger.at>
+Markus Froehlich <froema@ep3.at>
+Ludwig Hammel <ludwig.hammel@gmail.com>
+Amir Hassan <amir@viel-zu.org>
+Martin Natano <natano@natano.net>
+Thomas Neumann <tom@newtone.cc>
+
+==================
+Team Documentation
+==================
+
+Maximilian Stadler <sulpicius@socialanthropology.net>
+Nadia Ratti <nadia.ratti@gmail.com>
+
+Big thank you to the ethics committee for making this work possible.
57 FAQ
@@ -0,0 +1,57 @@
+FREQUENTLY ASKED QUESTIONS
+
+Q: Is there an administrator user created during install ?
+A: A user named "root" with password "changeme" is created at "./manage.py bootstrap" time
+
+Q: How do i recreate my database?
+A: delete ecs.db, and start with syncdb again
+
+Q: syncdb/migrate/bootstrap/runserver throws strange errors.
+A: Clean the source tree from pyc files and retry the last step.
+
+ $ fab clean_pyc
+
+Q: fab developer throws an error
+A: Recreate your virtual environment.
+
+ posix$ deactivate; rm -rf ../environment # start with bootstrap again
+ windows$ ..\environment\Scripts\deactivate.bat
+ start the explorer and delete the environment dir, start with bootstrap
+ again.
+
+Q: How do i set up postgresql?
+A: Install postgres and change the database engine to postgres in the django
+ settings. You might want to use ident authentication. Use dropdb/createdb
+ to recreate your databse. Consult the postgresql documentation[1].
+
+Q: How do i overwrite settings?
+A: Put your local configuration in local_settings.py.
+
+ DATABASES_OVERRIDE = {}
+ DATABASES_OVERRIDE['default'] = {
+ 'ENGINE': 'django.db.backends.postgresql_psycopg2',
+ 'NAME': 'ecsdev',
+ }
+
+ Consult the django documentation[2] for more information regarding the
+ database settings or django in general.
+
+Q: How do i run the unit tests?
+A: Run ./manage.py test
+
+Q: Why is TextboxList not included?
+A: Because we are not positive about distribution rights. We prepared a helper
+ script for you to install TextboxList the right way. Please note that you
+ have to purchase a one-time per-domain license if you use it for commercial
+ use[3].
+
+ $ fab app:ecs,getTextboxList
+
+Q: Where to report bugs?
+A: Open a bugreport at https://github.com/ethikkom/ecs
+
+
+[1] http://www.postgresql.org/docs/
+[2] http://docs.djangoproject.com/en/1.2/
+[3] http://devthought.com/projects/mootools/textboxlist/
+
675 GPLv3

Large diffs are not rendered by default.

Oops, something went wrong.
61 INSTALL
@@ -0,0 +1,61 @@
+ECS Development Setup
+
+
+Install the necessary prerequisites
+
+ ubuntu/debian# apt-get install python python-dev build-essential
+ opensuse# zypper install python python-dev
+ openbsd# pkg_add python # or install via ports
+ macosx: install XCode and macports or homebrew
+ windows: install python2.6.5[1] or any newer 2.6 version[2]
+
+Bootstrap the environment
+
+ posix$ chmod +x bootstrap.py; ./bootstrap.py ../environment
+ windows$ C:\Python26\python.exe .\bootstrap.py ..\environment
+
+Activate the environment
+
+ posix$ . ../environment/bin/activate
+ windows$ ..\environment\Scripts\activate.bat
+
+Automated install of environment prerequisites
+
+ posix$ fab appreq:ecs,flavor=developer
+ windows$ fab appreq:ecs,flavor=developer
+
+ For windows you need to adjust the ECS_GHOSTSCRIPT and ECS_GNUPG variables
+ in local_settings.py. Appreq tries to guess your ghostscript/gpg
+ installation path.
+
+ ECS_GHOSTSCRIPT = r"C:\Programme\gs\gs8.71\bin\gswin32c.exe"
+ ECS_GNUPG = r"C:\Programme\GNU\GnuPG\gpg.exe"
+
+Automated install of environment packages
+
+ $ fab developer
+
+Setup application database
+
+ For the developer setup sqlite is used, so no additional steps have to be
+ done.
+
+ $ cd ecs
+ $ python manage.py syncdb --noinput
+ $ python manage.py migrate --noinput
+ $ python manage.py bootstrap
+
+Run Application
+
+ $ python manage.py runserver # run the development server
+
+Run the unit tests
+
+ $ python manage.py test
+
+ If your setup is correct, there should be no failing unit tests.
+
+
+[1] http://python.org/ftp/python/2.6.5/python-2.6.5.msi
+[2] http://python.org/download/releases/
+
Oops, something went wrong.

0 comments on commit 157ab27

Please sign in to comment.