Advertisement
Guest User

Untitled

a guest
Apr 25th, 2014
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 1.15 KB | None | 0 0
  1. # Project : Journalism++ v2
  2. # -----------------------------------------------------------------------------
  3. # Author : Edouard Richard                                  <edou4rd@gmail.com>
  4. # -----------------------------------------------------------------------------
  5. # License : GNU General Public License
  6. # -----------------------------------------------------------------------------
  7.  
  8. PYC = $(wildcard *.pyc)
  9. ccss = $(wildcard staticfiles/CACHE/**.css)
  10.  
  11.  
  12. run: clean
  13.     . `pwd`/.env ; python manage.py runserver
  14.  
  15. clean:
  16.     -rm **/*.pyc
  17.  
  18. install: install_dependances init_db
  19.  
  20. install_dependances:
  21.     virtualenv venv --no-site-packages --distribute --prompt=jppv2
  22.     . `pwd`/.env ; pip install -r requirements_core.txt
  23.  
  24. dump_data:
  25.     . `pwd`/.env ; python manage.py dumpdata cms djangocms_style taggit djangocms_column djangocms_text_ckeditor djangocms_file djangocms_flash djangocms_googlemap djangocms_inherit djangocms_link djangocms_picture djangocms_teaser djangocms_video jplusplus --indent 4 --natural > sources/jplusplus/fixtures/initial_data.json
  26.  
  27. init_db:
  28.     . `pwd`/.env ; python manage.py syncdb
  29.     . `pwd`/.env ; python manage.py migrate
  30.  
  31. # EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement