Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

main wearhacks website

NotificationsYou must be signed in to change notification settings

wearhacks/main_wearhacks

Repository files navigation

Stories in Ready

Wearhacks HQ Website

Installation

Requirements

  • pip - instructionshere
  • virtualenvwrapper - instructionshere
  • npm - instructionshere

Quick setup

$ 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/.

Usage

  • 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp