Browse Source

Merge pull request #52 from cweiske/master

Add installation instructions
pull/64/head
Aaron Parecki 7 years ago
committed by GitHub
parent
commit
22630f4af3
1 changed files with 19 additions and 14 deletions
  1. +19
    -14
      README.md

+ 19
- 14
README.md View File

@ -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

Loading…
Cancel
Save