-
create and activate a virtual environment
-
install requirements with
pip install -r requirements.txt -
create an account on https://getstream.io
-
Use the default created app or create a new one with the feeds with the following names and types:
a. user, flat b. notification, notification c. timline, flat d. timline_aggregated, aggregated
-
get your API credentials (key and secret) and add them to the bottom of
core/settings.py(STREAM_API_KEY and STREAM_API_SECRET) -
Change the following settings in
core/settings.py:
DEBUG = True ... DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'testdatabase.sqlite', } }
- install ruby dependencies (compass) via bundler
bundleror with gemgem install compass - initialize your app
python manage.py after_deploy - collect static files
python manage.py collectstatic - compress the static files
python manage.py compress - start the webserver
python manage.py runserver - open your browser on http://localhost:8000
If you have any problems please open a issue on github and paste any error you get in the console.