You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
1.9 KiB

10 years ago
10 years ago
  1. Quill
  2. =====
  3. [Micropub](http://micropub.net/draft/) client written in PHP.
  4. Work in progress. Do not use!
  5. https://quill.p3k.io/
  6. ## Dependencies
  7. - PHP
  8. - MySQL or SQLite
  9. - Composer for further dependency installation
  10. ## Setup
  11. - Follow the "Web Server Configuration" section
  12. - Run `composer install`
  13. - Copy `lib/config.template.php` to `lib/config.php` and adjust it
  14. - Import `schema/mysql.sql` (or `schema/sqlite.sql`)
  15. - Open the Quill URL in your Browser
  16. ### Web Server Configuration
  17. 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.
  18. #### nginx
  19. ```
  20. server {
  21. listen 80;
  22. server_name quill.dev;
  23. root /path/to/Quill/public;
  24. error_log logs/quill.error.log notice;
  25. try_files $uri /index.php?$args;
  26. location /index.php {
  27. fastcgi_pass php-pool;
  28. fastcgi_index index.php;
  29. include fastcgi_params;
  30. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  31. }
  32. }
  33. ```
  34. #### Apache .htaccess
  35. An `.htacces` file is already located in the `public/` folder.
  36. ### Contributing
  37. By submitting code to this project, you agree to irrevocably release it under the same license as this project.
  38. ## Credits
  39. Quill icon designed by [Juan Pablo Bravo from the Noun Project](http://thenounproject.com/term/quill/17013/).
  40. ## License
  41. Copyright 2013 by Aaron Parecki
  42. Licensed under the Apache License, Version 2.0 (the "License");
  43. you may not use this file except in compliance with the License.
  44. You may obtain a copy of the License at
  45. http://www.apache.org/licenses/LICENSE-2.0
  46. Unless required by applicable law or agreed to in writing, software
  47. distributed under the License is distributed on an "AS IS" BASIS,
  48. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  49. See the License for the specific language governing permissions and
  50. limitations under the License.