LawPal.com - pivot 3
LawPal is platform that aims to make certain legal process simpler and give both the client and the lawyer a clear overview of what has and what is yet to be done.
Read more topics at: http://discourse.lawpal.com
The platform can be described as:
Every user of LawPal.com has a:
"user" account which has a "client" profile
a "user" can be a "customer" who has 1 "company"
OR a "user" can be a "lawyer" who has 1 "firm"
a "customer" can create 1 or more "project"(s) each project has 1 or more "transact"(ions) each "transact"(ion) has many "todo" items the "project" has 1 "lawyer" (or more ?tbd) assigned to it
easy_install pip
pip install virtualenv virtualenvwrapper
export WORKON_HOME=~/.virtualenvs
mkdir -p $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bash_profile
mkvirtualenv --no-site-packages glynt
mkdir -p ~/Projects
cd ~/Projects
git clone [email protected]:rosscdh/glynt.git
cd glynt
pip install -r requirements.txt
: install update the required libraries (append --upgrade if you are not sure)
fab rebuild_local
: will perform the following steps automatically:
python manage.py syncdb
: sync the database; and create the default user if there is not already onepython manage.py migrate
: perform the rest of the migrationspython manage.py loaddata sites cities_light transact
python manage.py check_permissions
# Creates the userena permissionspython manage.py runserver_plus
pip install --upgrade pip
- ensure latest versionpip install -r requirements.txt
: install update the required libraries (append --upgrade if you are not sure)ngrok 127.0.0.1:8000
http://19b51bbe.ngrok.com/crocdoc/webhook/
The following sections are simply notes and are not necessary for getting running in dev.
Only run the celery worker if you want to test async processes
python manage.py celery worker --loglevel=info
Not necessary for dev.local
brew install geos
Not necessary for dev.local
Load all the city data
manage.py cities_light --force-all
** Document Templates **
./manage.py dumpdata document.documenttemplate > glynt/apps/document/fixtures/documenttemplate.json
./manage.py dumpdata lawyer auth > public/fixtures/lawyers.json
./manage.py dumpdata firm deal endorsement > public/fixtures/legal.json
./manage.py graph_models -g -o ~/Desktop/glynt-models.png firm lawyer deal endorsement auth
https://562971026743.signin.aws.amazon.com/console/ec2
Valid environemnts are: staging|preview|production
export TARGET_ENV='staging'
fab $TARGET_ENV deploy assets
fab $TARGET_ENV requirements clean_pyc syncdb migrate
Should be >= casperjs: 1.1.0-DEV Should be >= phantomjs: 1.9.0
brew update
brew install phantomjs
brew install casperjs --devel
sudo apt-get install libxml2-dev libxslt1-dev