Giter Club home page Giter Club logo

djangodev's Introduction

DjangoDev

This repository contains a comprehensive set of tools for getting started with computational linguistics for use in a django development server.

Contributors:

  • Dax Gerts

DjangoDev Box Overview

The following process will allow you to easily setup and run Ipython Notebooks in your browser without having to make a lot of permanent changes to your computer. This is accomplished by creating a "virtual machine" which runs on its own partioned section of your computer. The use of Vagrant allows this machine to be created from prepared files found in this repository and with a minimum of individual effort. Additionaly, a vagrant machine can be stopped, destroyed, and recreated at any given time.

Installationa and Setup

This process will take a few minutes and requires a good internet connection.

1. Install VirtualBox

Download and install VirtualBox here

2. Install Vagrant

Download and install Vagrant here

3. Download 'DjangoDev' Repository (Optionally: Use Git)

Installing Git on your host machine is completely optional, but it can make things a little simpler if you're willing to work with the command line/terminal. Choose one of the following:

  1. Use git to download the 'DjangoDev' Repository: (preferred)
  • Download and install Git here
  • Open command line/terminal and navigate to where you'd like to store your vagrant box.
    • Mac/Linux:cd ~/Desktop
    • Windows: cd C:\Users\your-username\Desktop
  • Use git clone https://github.com/SlightlyUnorthodox/DjangoDev.git to create a local copy of the repository
  1. Download the 'DjangoDev' Repository directly:
  • Download the zipfile here
  • Unzip the file where you'd like to store your vagrant box.

4. Run Vagrant setup

This process will likely take several minutes when run for the first time, but will be significantly faster if ever needed again. Feel free to grab a cup of coffee while this completes.

What your computer is doing here:

  • Creating a virtual machine in your computer
  • Downloading and installing Ubuntu
  • Installing Git, Python, NLTK, and Django
  • Starting the Django server and forwarding that to the host machine at '127.0.0.1:8000'

Mac & Linux

Open the terminal using

  cd ~/desktop/DjangoDev
  vagrant plugin install vagrant-hostsupdater
  vagrant plugin install vagrant-triggers
  vagrant up

More info on Mac termainal

Windows

  cd ~\Desktop\DjangoDev
  vagrant plugin install vagrant-hostsupdater
  vagrant up

More info on Windows command prompt

Access Django Server

If it is running, the Django server can be accessed from the 'http://djangodev:8000'

To start Django in your development box, run the command 'sudo python manage.py runserver 0.0.0.0:8000' from the Django project directory.

Access Your Vagrant Box Directly

Mac & Linux

  cd ~/desktop/DjangoDev
  vagrant ssh

More info on Mac termainal

Windows

On Windows, you'll likely need to use Putty to access your vagrant box.

  • Hosname: localhost
  • Port: 22
  • Username: vagrant
  • Password: vagrant

Check for Updates

  vagrant reload --provision

More Info

If you're interested in learning more ways to use Vagrant, please read the tutorials here

djangodev's People

Contributors

slightlyunorthodox 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.