summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpantsucat <contact@pantsu.cat>2015-09-19 02:06:58 +0200
committerpantsucat <contact@pantsu.cat>2015-09-19 02:06:58 +0200
commit032e7d4c2ed8c50876fc3fc598559785fe88feaa (patch)
treea6ed091e3fedf69392d7099fe5541fc9e62a2355
parent274e8063d3761659243044a20ee1dc06f7414fdc (diff)
Revert changes made in 274e8063d3761659243044a20ee1dc06f7414fdc
-rw-r--r--README.md27
1 files changed, 11 insertions, 16 deletions
diff --git a/README.md b/README.md
index d8d0f6f..56cd872 100644
--- a/README.md
+++ b/README.md
@@ -12,9 +12,17 @@ The assets are minified and combined using [Grunt](http://gruntjs.com/).
Assuming you already have Node and NPM working, compilation is easy. Use the
following shell code:
-## Apache
-If you are running Apache and want to compress your output when serving files, add to your `.htaccess` file:
-=======
+#### Apache
+If you are running Apache and want to compress your output when serving files,
+add to your `.htaccess` file:
+
+```
+AddOutputFilterByType DEFLATE text/html text/plain text/css application/javascript application/x-javascript application/json
+```
+
+Remember to enable `deflate_module` and `filter_module` modules in your Apache
+configuration file.
+
```
npm install -g grunt-cli
git clone git://github.com/pantsucat/pomf.git
@@ -39,24 +47,11 @@ Make sure to disable PHP from being executed on the file download
domain/directory (e.g a.site.com), otherwise a attacker can upload a malicious
.php file and execute it on your server.
-### Apache
-
-If you are running Apache and want to compress your output when serving files,
-add to your `.htaccess` file:
-
-```
-AddOutputFilterByType DEFLATE text/html text/plain text/css application/javascript application/x-javascript application/json
-```
-
-Remember to enable `deflate_module` and `filter_module` modules in your Apache
-configuration file.
-
## Todo
* Clean up Moe code, a lot..
* API keys?
-=======
## License
Pomf is free software, and is released under the terms of the MIT (Expat)