summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-07-29 07:39:38 +0200
committerChristian Weiske <cweiske@cweiske.de>2016-07-29 07:39:58 +0200
commitd710ed760f308783a133b311bc60075aa69c5aed (patch)
treecd2fdf0b155a2c30049f0faf2b7312391c98fdd1
parentdbb17a5182c883a33ad14ba808fdb666c75568f3 (diff)
Add installation instructions
-rw-r--r--README.md33
1 files changed, 19 insertions, 14 deletions
diff --git a/README.md b/README.md
index c5c7b47..573ccbb 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,26 @@
Quill
=====
+[Micropub](http://micropub.net/draft/) client written in PHP.
Work in progress. Do not use!
https://quill.p3k.io/
+## Dependencies
+- PHP
+- MySQL or SQLite
+- Composer for further dependency installation
+
+
+## Setup
+- Follow the "Web Server Configuration" section
+- Run `composer install`
+- Copy `lib/config.template.php` to `lib/config.php` and adjust it
+- Import `schema/mysql.sql` (or `schema/sqlite.sql`)
+- Open the Quill URL in your Browser
+
+
### Web Server Configuration
Set the document root to the "public" folder of this repo, and ensure all requests are routed through `public/index.php` if they don't match a file.
@@ -32,18 +47,8 @@ server {
}
```
-#### Apache htaccess
-
-```
- RewriteEngine on
-
- RewriteBase /
-
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} !=/favicon.ico
- RewriteRule ^ index.php [L]
-```
+#### Apache .htaccess
+An `.htacces` file is already located in the `public/` folder.
### Contributing
@@ -51,12 +56,12 @@ server {
By submitting code to this project, you agree to irrevocably release it under the same license as this project.
-### Credits
+## Credits
Quill icon designed by [Juan Pablo Bravo from the Noun Project](http://thenounproject.com/term/quill/17013/).
-### License
+## License
Copyright 2013 by Aaron Parecki