Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2
Example configuration for Indiekit
License
getindiekit/example-config
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This example configuration can be used as a starting point for configuring your own Indiekit server.
This example assumes that want to:
- host your content on GitHub
- publish your website using Jekyll
- syndicate content to a Mastodon server
The following strings in theconfiguration file should be replaced with your own values (or saved as environment variables):
process.env.PUBLICATION_URLprocess.env.GITHUB_USERNAMEprocess.env.GITHUB_REPOSITORYprocess.env.GITHUB_BRANCHprocess.env.MASTODON_SERVERprocess.env.MASTODON_USERNAME
Some values shouldn’t be made public, or included in your configuration file. Instead, they should be saved as environment variables that can only be seen by you and your server:
GITHUB_TOKENMASTODON_ACCESS_TOKENMONGO_URLPASSWORD_SECRETSECRET
Once you have updated the configuration file with your own values, and ensured environment variables are present, you can start the server using the following command:
npm start
If you want to deploy your server usingDocker, the following files are provided as a starting point:
.dockerignoredocker-compose.ymlDockerfile
If you are using Docker Compose, theMONGO_URL environment variable does not need to be set. The following environment variables should be provided instead:
MONGO_INITDB_ROOT_USERNAMEMONGO_INITDB_ROOT_PASSWORD
Click the button to use this configuration as the basis of a new service deployed with Railway:
About
Example configuration for Indiekit
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.