Work on the POC has stopped here and moved over to https://github.com/snowplow/snowplow.github.io. The GitHub Pages site will be removed soon.
This website is built using Docusaurus 2, a modern static website generator.
You might need to install some tools to get this running.
brew install yarn
yarn
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn build
This command generates static content into the build
directory and can be
served using any static contents hosting service.
Push changes back to your branch and then merge into main branch. The Github Actions will deploy the change across into gh_pages branch that GitHub pages picks up.
Note that when setting up in GitHub, create two branches:
- main - default branch, protected
- gh-pages - protected
First, initialise the wordpress-export-to-markdown
submodule:
pushd wordpress-export-to-markdown
npm install
popd
Next, install some more tools:
pip3 install yq
Then export the content from Wordpress (choose “All content”).
Finally, run the import script.
WARNING: it will overwrite docs/migrated
.
./import.sh <your-export-file.xml>