33 lines
878 B
Markdown
33 lines
878 B
Markdown
# speedie-page
|
|
|
|
Everything required to host my site on your own.
|
|
|
|
## Dependencies
|
|
|
|
- php
|
|
- Web server (not required for testing)
|
|
|
|
## Testing
|
|
|
|
You can test the page using `php -S localhost:1337` and opening
|
|
`http://localhost:1337` in your web browser.
|
|
|
|
## Blog
|
|
|
|
The blog is handled by `blog.php`. It also generates rss.xml on
|
|
execution if the result differs from the existing file. To
|
|
add new blog posts, add a new Markdown article to /articles.
|
|
You must also create a .md.date and .md.num file for the new page.
|
|
The .md.date contains the date, in YYYY-MM-DD format, and the
|
|
.md.num contains the blog post number, used for sorting.
|
|
|
|
## Contributions
|
|
|
|
To contribute, simply create an issue or submit a pull request.
|
|
You know how it works.
|
|
|
|
## License
|
|
|
|
License for almost all PHP is GNU General Public License version 3.
|
|
The license for `blog.php` is MIT though, see LICENSE.blog.
|