Skip to content

Instantly share code, notes, and snippets.

Created February 26, 2013 12:04
Show Gist options
  • Save anonymous/5037984 to your computer and use it in GitHub Desktop.
Save anonymous/5037984 to your computer and use it in GitHub Desktop.
jon@forseti:~/development$ django-admin.py startproject myproject
jon@forseti:~/development$ cd myproject
jon@forseti:~/development/myproject$ python manage.py startapp dcmachines
jon@forseti:~/development/myproject$ cd dcmachines
jon@forseti:~/development/myproject/dcmachines$ ls
__init__.py models.py tests.py views.py
jon@forseti:~/development/myproject/dcmachines$ mkdir models
jon@forseti:~/development/myproject/dcmachines$ cd models
jon@forseti:~/development/myproject/dcmachines/models$ touch __init__.py
jon@forseti:~/development/myproject/dcmachines/models$ cd ..
jon@forseti:~/development/myproject/dcmachines$ rm models.py
jon@forseti:~/development/myproject/dcmachines$ cd ..
jon@forseti:~/development/myproject$ cd ..
jon@forseti:~/development$ tree myproject
myproject
├── dcmachines
│   ├── __init__.py
│   ├── models
│   │   └── __init__.py
│   ├── tests.py
│   └── views.py
├── manage.py
└── myproject
├── __init__.py
├── __init__.pyc
├── settings.py
├── settings.pyc
├── urls.py
└── wsgi.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment