1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

Added a note about how to view the site locally

This commit is contained in:
Haacked 2012-11-27 08:22:14 -08:00
parent 90da2c12b4
commit fe13fefb57

View File

@ -35,3 +35,29 @@ it up to accept contributions.
Phil will look into whether various open source foundations and lawyers would Phil will look into whether various open source foundations and lawyers would
be interested in being involved. Probably makes good sense to have a lawyer be interested in being involved. Probably makes good sense to have a lawyer
review the content before we post it live. review the content before we post it live.
# Run It On Your Machine
```
git clone https://github.com/github/choosealicense.com
cd choosealicense.com
```
The site uses relative links so you can easily click on documents to view
them, though default documents (index.html) won't work.
Or you can also use a simple local webserver:
```
python -m SimpleHTTPServer
open http://localhost:8000/
```
or if you have IIS Express on Windows
```
CD "c:\Program Files (x86)\IIS Express\"
iisexpress /path:c:\path\to\choosealicense.com /port:8000
open http://localhost:8000/
```