- Notifications
You must be signed in to change notification settings - Fork0
wearhacks/main_wearhacks
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
$ mkvirtualenv main_wearhacks$ workon main_wearhacks(main_wearhacks) $ pip install -r requirements.txt(main_wearhacks) $ bower install(main_wearhacks) $ cp main_wearhacks/settings/example_private.py main_wearhacks/settings/private.py(main_wearhacks) $ python manage.py makemigrations(main_wearhacks) $ python manage.py migrate(main_wearhacks) $ python manage.py runserver
Now, openhttp://127.0.0.1:8000/.
To run onlocalhost:
$ workon wearhacks-website(wearhacks-website) $ python manage.py runserver
To access the website from a different IP (e.g. if you are hosting the sever on a VM and accessing the site from the host:
$ workon wearhacks-website(wearhacks-website) $ python manage.py runserver 0.0.0.0:8000
#Deploying on herokuIn order to deploy on heroku, make sure all the environment variables are set properly. Before pushing to heroku, do the following commands to upload all the dependencies to amazon aws. Make sure to have your aws settings on private.py
APP_ENV='deploy' python manage.py compressAPP_ENV='deploy' python manage.py collectstaticgit push heroku master
About
main wearhacks website
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors5
Uh oh!
There was an error while loading.Please reload this page.
