Where is the content ?
During the project init, one file has been created locally:
index.md. You can change its content and reload the page, changes will be automatically applied. You can create more files:
- create a
test.mdfile and add content in it
- open http://localhost:3000/test.html to see your new content
This is really useful for local and offline development but this is not where the content should reside.
Content stored on github
Here are the instructions to store your content on github and tell Helix to consume the content from github and not locally:
- Go to http://github.com/
- Create a new
hellohelixcontentrepository in your favorite org
- Add a
index.mdfile with some content
- In your Helix project, create a new
helix-config.yamlfile add the root
- Add following line to file (and replace
content: https://github.com/<your org>/hellohelixcontent
Open the url http://localhost:3000/: the content is now coming from the
hellohelixcontent git repository.