To build these docs locally you will need Node & NPM installed.
To install the dependencies run:
npm install
To preview the docs, run:
npm run dev
This will build a set of HTML files in build/site
and then serve them through an express server at http://localhost:8000.
The dev script will also listen for changes and automatically rebuild the files automatically.
You’ll still need to refresh the page to view the changes.
Pushing to the publish
branch of this repo will trigger a rebuild of the HTML and CSS files in the Docs Refresh repo using a Github Action.
git clone https://github.com/neo4j-documentation/labs-pages
git add .
git commit -m "My changes"
git push origin HEAD:publish
At the end of the build process, the files are uploaded to the static-content.neo4j.com
S3 Bucket. From there, they are synced up to the Neo4j.com server once an hour, on the hour by a cronjob.