mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
add gemfile and script/ folder for easier bootstaping and less friction goodness;
This commit is contained in:
parent
caa47fb00c
commit
a21098309e
30
Gemfile.lock
Normal file
30
Gemfile.lock
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
classifier (1.3.3)
|
||||||
|
fast-stemmer (>= 1.0.0)
|
||||||
|
directory_watcher (1.5.1)
|
||||||
|
fast-stemmer (1.0.2)
|
||||||
|
jekyll (0.12.1)
|
||||||
|
classifier (~> 1.3)
|
||||||
|
directory_watcher (~> 1.1)
|
||||||
|
kramdown (~> 0.14)
|
||||||
|
liquid (~> 2.3)
|
||||||
|
maruku (~> 0.5)
|
||||||
|
pygments.rb (~> 0.3.2)
|
||||||
|
kramdown (0.14.2)
|
||||||
|
liquid (2.5.0)
|
||||||
|
maruku (0.6.1)
|
||||||
|
syntax (>= 1.0.0)
|
||||||
|
posix-spawn (0.3.6)
|
||||||
|
pygments.rb (0.3.7)
|
||||||
|
posix-spawn (~> 0.3.6)
|
||||||
|
yajl-ruby (~> 1.1.0)
|
||||||
|
syntax (1.0.0)
|
||||||
|
yajl-ruby (1.1.0)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
jekyll
|
28
README.md
28
README.md
@ -38,26 +38,8 @@ review the content before we post it live.
|
|||||||
|
|
||||||
# Run It On Your Machine
|
# Run It On Your Machine
|
||||||
|
|
||||||
```
|
1. `git clone https://github.com/github/choosealicense.com`
|
||||||
git clone https://github.com/github/choosealicense.com
|
2. `cd choosealicense.com`
|
||||||
cd choosealicense.com
|
3. `script/bootstrap`
|
||||||
```
|
4. `script/server`
|
||||||
|
5. Open [localhost:4000](http://localhost:4000) in your favorite browser
|
||||||
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/
|
|
||||||
```
|
|
||||||
|
9
script/bootstrap
Executable file
9
script/bootstrap
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "bundling installin'"
|
||||||
|
bundle install
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "You're all set. Just run script/server and you can play license roulette!"
|
5
script/server
Executable file
5
script/server
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
bundle exec jekyll --server
|
Loading…
x
Reference in New Issue
Block a user