Skip to content

Instantly share code, notes, and snippets.

@akashnimare
Created June 11, 2016 18:01
Show Gist options
  • Save akashnimare/3e0345d59f054396a76dfd674d2280b0 to your computer and use it in GitHub Desktop.
Save akashnimare/3e0345d59f054396a76dfd674d2280b0 to your computer and use it in GitHub Desktop.
Installation
- git clone the production branch
- use mkvirtaulenv and virtualwrapper to make virtual env
- mkvirtualenv xyz
- workon xyz
- npm install
- pip install -r requirements.txt
- python manage.py collectstatics
- python manage.py syncdb
- python mangae.py runserver
go to http://localhost:8000
Changes -
All the changes needs to be done here
https://github.com/WebDevLabs-SVNIT/InOut3/tree/production/app
Styling -
https://github.com/WebDevLabs-SVNIT/InOut3/tree/production/app/sass/partials and /partials/sections
Run - gulp watch - It will compile sass to css and you then you'll be able to see the changes.
JS -
https://github.com/WebDevLabs-SVNIT/InOut3/tree/production/app/js
Run - webpack to see the changes. It will create bundle.js in - ./inout/static/inout/js/bundle.js
Run - python manage.py collectstatic to see the changes.
After changing please push it to a new branch.
git checkout -b [name_of_your_new_branch]
git push origin [name_of_your_new_branch]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment