akeneo / sfcc-helpcenter

Welcome on the repository of the help center of the SFCC connector for Akeneo PIM
0 stars 3 forks source link

Akeneo Connector for SFCC help center

This repository holds the sources of the Akeneo Connector for SFCC help center, made by hand with love.

Requirement

Install Docker Engine

Build with docker

make build

This is only building the documentation. The documentation is not available with this command, as it does not launch the HTTP server.

Build and launch HTTP server with docker

make watch

The help center website is then available on http://localhost:8000/sfcc/v20/. Files located in the content and src directories are watched for changes, so when developing or writing new articles you do not need to launch any other task.

Deployment of master version

With Circle CI (recommended)

Once you merge a PR into the master branch, it is automatically deployed on the staging server. In order to deploy it in production, please follow these steps:

List of merged PR in master

List of jobs in a workflow

Local deployment (not recommended)

Your public SSH key should be deployed on the server (see Ansible configuration). It is strongly recommended to release with the CI process though.

HOSTNAME=xxx PORT=xxx make deploy

HOSTNAME is the server to deploy the documentation on. PORT is the SSH port to connect to the server.

To know the production and staging environments of sfcc-helpcenter, please read the inventory.