GithubHelp home page GithubHelp logo

kantakato / django_landing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sssinsi/django_landing

0.0 2.0 0.0 356 KB

This is Only landing web site for Django.

Python 7.46% CSS 31.20% JavaScript 59.16% HTML 2.19%

django_landing's Introduction

django_landing

This project is ONLY landing web site for Django(python).
You can make a web site based on the method of lean startup.
Django-landing will also work on heroku(Of course on local).
This project consists Python 2.7.x, Django 1.5.1 and TwitterBootstrap 2.3.1.

How to use

1. Download Zip

Download django-landing zip files and unzip.

2. Create virtual environment for python

Next is Change directory to unzipped directory. And create virtualenv setting by CLI.
$ > virtualenv venv --distribute
Change to virtual environment of python.
$ > source venv/bin/activate
Check the command line is starting from character (venv).
(venv) $ >

3. Install requirements.txt

Before you work project on local machine, you must install some modules in requirements.txt by pip.
(venv) $ > pip install -r requirements.txt

4. Test run

If you run django-landing project on local machine, comment out database setting in settings.py.

    #import dj_database_url  
    #DATABASES['default'] =  dj_database_url.config()  

,and create local database.
(venv) $ > python manage.py syncdb

So you can run on local machine by
(venv) $ > python manage.py runserver
And see django-landing localhost:8000.

If you made heroku environment, you can also run django-landing by foreman.
(venv) $ > foreman start

5. Work on Heroku

If you want to work django-landing project on heroku, you have to make heroku account.
Install heroku toolbelt, and login.Getting Started with Heroku
After procedure is usual.Store app in Git,Deploy to heroku etc.

django_landing's People

Contributors

sssinsi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.