Skip to content

Commit 177a6c4

Browse files
committed
Abandoned the virtualenv-based way of doing things and moved to the playdoh-based way of doing things, with a vendor/django subdirectory that points to the django 1.3.X tip.
1 parent 383b00c commit 177a6c4

23 files changed

+43
-1961
lines changed

Diff for: .gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
build
2-
htmlpad.egg-info
3-
.virtualenv
4-
*.egg

Diff for: .gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "vendor/django"]
2+
path = vendor/django
3+
url = git://github.com/django/django.git

Diff for: README.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,18 @@ This effectively allows people to easily collaborate on writing HTML,
1616
and it provides a very fast feedback loop between trying something
1717
out, seeing how it looks in the browser, and sharing it with others.
1818

19-
### Installation ###
19+
### Quick Start ###
2020

21-
Just run `python manage.py runserver` and open your browser to [http://localhost:8000](http://localhost:8000). As you save changes to HTMLpad's source code, the server will automatically apply them, allowing you to iterate quickly.
21+
To get started, run this at your shell prompt:
2222

23-
### Troubleshooting ###
23+
git clone --recursive git://github.com/hackasaurus/htmlpad.git
24+
cd htmlpad/htmlpad_dot_org
25+
python manage.py runserver
2426

25-
While HTMLpad is a Django application, you don't need to have Django installed system-wide. That's because running `manage.py` automatically creates a virtual environment, downloads and installs the appropriate version of Django and any other dependencies, and activates the virtual environment for the duration of the script.
26-
27-
However, this can sometimes result in a broken virtual environment, particularly if `manage.py` is aborted while it's still setting things up. If anything goes amiss, try wiping the `.virtualenv` directory and starting over.
27+
Then open your browser to [http://localhost:8000](http://localhost:8000). As you save changes to HTMLpad's source code, the server will automatically apply them, allowing you to iterate quickly.
2828

2929
### Deployment ###
3030

31-
You can run `python setup.py install` to install the `htmlpad` Django application package into any environment, including virtual ones.
32-
3331
This Django application assumes the following custom settings variables:
3432

3533
* `HTMLPAD_ROOT` is the string prefix, including any trailing slash but no leading slash, of the HTMLpad instance on the Web server. It can be an empty string. For example, if a user browses to http://foo.com/mypad/ to access your HTMLpad's root, then the setting's value is `'mypad/'`.

0 commit comments

Comments
 (0)