Add readme, license and fix site name
This commit is contained in:
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Daniel Nitsikopoulos
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
24
README.md
24
README.md
@@ -1 +1,25 @@
|
||||
# Adamantium
|
||||
|
||||
Adamantium is my personal blog built with Hanami 2.
|
||||
|
||||
It's based on the [Micropub](https://micropub.net/) spec for publishing posts of varying types.
|
||||
|
||||
## Status
|
||||
|
||||
This project is under active development and is light on tests. It was also started when Hanami 2 was still in beta, so contains some code that may not be needed in the current version of Hanami 2 (particularly the persistence and asset management code). I do plan on bringing that in line with what is in the release version of Hanami 2, though.
|
||||
|
||||
## Running locally
|
||||
|
||||
### Requirements
|
||||
- Ruby
|
||||
- Postgres
|
||||
|
||||
### Steps
|
||||
1. Provide a `.env` file that fills in all of the required settings in `config/settings.rb`
|
||||
2. Run `script/setup`
|
||||
3. Run `script/server`
|
||||
4. Visit `http://localhost:2300`
|
||||
|
||||
## License
|
||||
|
||||
The source code is available under the MIT licence. But you may not copy the design or content of this site.
|
||||
|
@@ -6,7 +6,7 @@ html
|
||||
|
||||
meta name="theme-color" content="rgb(37, 99, 235)"
|
||||
|
||||
title #{context.content_for(:title)} Daniel Nitsikopoulos
|
||||
title #{context.content_for(:title)} #{Hanami.app.settings.site_name}
|
||||
|
||||
link rel="authorization_endpoint" href=Hanami.app.settings.micropub_authorization_endpoint
|
||||
link rel="token_endpoint" href=Hanami.app.settings.micropub_token_endpoint
|
||||
|
Reference in New Issue
Block a user