-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
12 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,11 @@ | ||
# Markdown Pages | ||
# Tired Bike | ||
|
||
Quickly create and deploy static markdown pages with Next.js | ||
A decentralized hospitality exchange community for slow travellers and those who want to host them. | ||
|
||
## Quick start | ||
## Work In Progress | ||
|
||
### Clone this repository | ||
Please check back in the Autumn 2024. | ||
|
||
``` | ||
git clone https://github.com/mrkvon/mdpages.git | ||
``` | ||
There will be a running instance of [SolidCouch](https://solidcouch.org), and you will be able to sign in with your [Solid identity](https://solidproject.org). | ||
|
||
### Create contents | ||
|
||
- add and change content in `src/content` | ||
- change logo in `src/assets/logo.png`, favicon will be generated from it | ||
- change 404 page in `src/app/404/page.tsx` | ||
|
||
### Configure | ||
|
||
Copy `.env.local.sample` to `.env.local` and change the variables | ||
|
||
You can set up the same variables in your GitHub repository for production | ||
|
||
### Preview | ||
|
||
```sh | ||
yarn dev | ||
``` | ||
|
||
### Deploy to GitHub pages | ||
|
||
- push the code with your new content to your repository | ||
- set up environment variables in your repository settings | ||
- set up github pages in your repository settings | ||
- if you have custom domain, you need to create DNS records pointing it to github pages, make sure to also set up `HOSTNAME` environment variable | ||
- re-run _Build & Deploy to gh_pages_ workflow | ||
A few things need to be fixed before, so you can use your existing data with Tired Bike, and use other instances of SolidCouch. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,5 +27,7 @@ | |
gap: 2rem; | ||
padding-top: 2rem; | ||
padding-bottom: 1rem; | ||
font-size: small; | ||
color: gray; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.