Skip to content

Commit

Permalink
Modifying docs
Browse files Browse the repository at this point in the history
  • Loading branch information
boopathi committed May 20, 2013
1 parent b22cee1 commit 50e57e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -2,7 +2,7 @@ all:
git submodule init
git submodule update

serve:
install:
cd src/pb && go install
./utils/pastebin

Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -21,9 +21,9 @@ Hacker's Pastebin (curl to post your pastes)
+ `git clone git://github.com/boopathi/pastebin.git`
+ `cd pastebin`
+ `source set_env.sh` #Sets the environment
+ `make && make serve`
+ `make && make install`
+ `./bin/pb` (or) just `pb`, as `./bin/` will be in your `$PATH`

## Contributing

+ Clone the repository, make changes and `make serve && ./bin/pb` to re-compile the source and run the server
+ Clone the repository, make changes and `make install && ./bin/pb` to re-compile the source and run the server
12 changes: 2 additions & 10 deletions templates/index.html
Expand Up @@ -27,15 +27,7 @@ <h3>Custom URI</h3>
<li><code>-d name=customURI</code> is to be included</li>
<li><code>cat somefile | curl -X PUT --data-urlencode paste@- -d name=customURI localhost:8080</code></li>
</ul>
<h2>Installation</h2>
<ul>
<li><code>git clone git://github.com/boopathi/pastebin.git</code></li>
<li><code>cd pastebin</code></li>
<li><code>source set_env.sh</code> #Sets the environment</li>
<li><code>make && make serve</code></li>
<li><code>./bin/pb</code> (or) just <code>pb</code>, as <code>./bin/</code> will be in your <code>$PATH</code></li>
</ul>
<h2>Contributing</h2>
<p>Clone the repository, make changes and <code>make serve && ./bin/pb</code> to re-compile the source and run the server</p>
<h2>Source</h2>
<p><code><a href="https://github.com/boopathi/pastebin">https://github.com/boopathi/pastebin</a></code></p>
</body>
</html>

0 comments on commit 50e57e5

Please sign in to comment.