aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2020-11-02 09:54:46 +0200
committerFilipp Lepalaan <filipp@mac.com>2020-11-02 09:54:46 +0200
commit4d0f4b2948688812a0e2c62cac3a80b4e4f1c36b (patch)
treee1b77026bcc03ea93a21e7d9037016a74d4a28ef
parentf7dbe498e966261f94fa62377147c4cdd5a47ea2 (diff)
downloadhello-master.tar.gz
hello-master.tar.bz2
hello-master.zip
Readme fixesHEADmaster
-rw-r--r--README.md26
1 files changed, 15 insertions, 11 deletions
diff --git a/README.md b/README.md
index 42f3fd0..baf52df 100644
--- a/README.md
+++ b/README.md
@@ -6,19 +6,20 @@ hello is a boilerplate repository.
- nginx with _autoindex_ on and _autoindex_format_ set to _json_ for the repo directory:
- server {
- listen 8080;
- server_name localhost;
-
- location / {
- root /Users/filipp/Projects/hello/templates;
- autoindex on;
- autoindex_format json;
+ server {
+ listen 8080;
+ server_name localhost;
+
+ location / {
+ root /Users/filipp/Projects/hello/templates;
+ autoindex on;
+ autoindex_format json;
+ }
}
- }
- the _requests_ HTTP client library (which everyone probably already has installed). _pip install -r requirements.txt_ to install.
+
## Setup
- Put your boilerplate on a web server
@@ -27,17 +28,20 @@ hello is a boilerplate repository.
## Usage
-Run _hello.py_ with boilerplate name or without the name to get a list of available templates
+Run _hello.py_ with boilerplate name or without the name to get a list of available templates.
The boilerplate templates get rendered with all your environment variables as context so feel free to use stuff like $HOME or $PWD or $USER or whatever inside them.
-'Nuff said.
## FAQ
- Why not do this as a snippet collection for <insert editor name here>?
- I keep switching between 4 different editors so I needed something a bit more universal.
+- But <insert product name here> already does this!?
+- Yes, it probably does. Why cook yourself when you can just buy a frozen pizza, right?
+
+
## License
Copyright © 2020 Filipp Lepalaan <filipp@mac.com>