Giter Club home page Giter Club logo

mtaube.com's Introduction

mtaube.com v1.1.0

For an overview of the project architecture and tools used, check out my blog post about it.

Installation

Prerequisites

Main

Using virtualenv and virtualenvwrapper is highly recommended. The virtualenv can be named anything (VIRTUALENV_NAME).

  1. Create new virtualenv

    mkproject VIRTUALENV_NAME
    
  2. Clone the repo into the new virtualenv dir

    git clone [email protected]:mtaube/mtaube.com.git .
    
  3. Install the Python required packages and Node required packages

    pip install -r requirements.txt
    
    nodeenv --python-virtualenv --requirements=requirements--node.txt
    npm install
    
  4. Configure Django settings

    Settings can be configured on a per-environment basis. Check out my blog post about it to see how this project's setting package works.

    See Django's settings documentation for all possible configurations.

  5. Initialize the database tables (make sure database exists and Django database settings are correct)

    python manage.py migrate
    

Development

  • Run Django's development server

    python manage.py runserver
    
  • Automatically compile LESS files on save

    grunt watch
    

Deployment

All deployment-related tasks are handled using Fabric. See the fabfile for the predefined commands.

  • To deploy an update to the staging or production environments

    fab -R staging deploy
    

mtaube.com's People

Contributors

mtaube avatar

Watchers

 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.