Skip to content

eccstartup/timepaw

 
 

Repository files navigation

Before Running python manage.py runserver:
===
sudo easy_install pip
sudo pip install django
sudo pip install django-celery
sudo pip install PIL (need VPN-GFW)
sudo pip install feedparser
sudo pip install python-oauth2 (git clone https://github.com/simplegeo/python-oauth2.git   sudo python setup.py install) 

==then=
python manage.py sycndb
=====

Local
-----
python manage.py runserver
python manage.py celeryd -E -l info -c 2
localhost:8000/activekeys/add?keyv=pioneerwxf

Server
-----
python current/timepaw/manage.py celeryd -E -l info -c 5


Broker Management
=====

Local
-----
rabbitmqctl delete_vhost test_timepaw_local_{ id }
rabbitmqctl add_vhost test_timepaw_local_{ id }
rabbitmqctl set_permissions -p test_timepaw_local_{ id } timepaw_test ".*" ".*" ".*"

Server
-----
rabbitmqctl delete_vhost test_timepaw
rabbitmqctl add_vhost test_timepaw
rabbitmqctl set_permissions -p test_timepaw timepaw_test ".*" ".*" ".*"


DB Management
=====

python current/timepaw/manage.py shell
from timepaw.profiles.models import Profile
Profile.objects.all()[0].datasource_set.all().delete()


Vagrant on Lion
=====

In your temp dir for install apps
-----

sudo gem update --system
sudo gem install vagrant
sudo gem update
git clone git://github.com/mitchellh/vagrant.git
cd vagrant
sudo gem install bundler
bundle install
sudo rake install

In your project dir
-----

vagrant init

About

for personal data storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published