git clone https://github.com/pb-it/ark-cms-api
#git clone https://github.com/pb-it/ark-cms-api -b 0.4.0-beta --depth 1
npm install --legacy-peer-deps
#npm update
npm run startConfiguration is done via
server-config.jsanddatabase-config.jswithin theconfigfolder.
If no custom configuration is provided on startup, the application will copy a default one from the templates.
If enabled in
server-config.js, the application expects certificate information viacert.pemandkey.pemwithin theconfig/sslfolder.
docker build . -t <image name>
docker run -p 3002:3002 -d <image name>
or with interactive bash
docker run -p 3002:3002 -it <image name> /bin/bashCreate
tests/config/test-config.js
If test-config does not contain an 'remote' definition an local instance will be started with configuration from
tests/config/server-config.jsandtests/config/database-config.js
INFO: By now the automatic tests suffer from the lack of ability to verfiy security features!
Disable SSL while testing when using a self-signed certificate!
Disable authentication while testing!
Extensions test needs an existing
cdnfolder which has to be specified intests/config/server-config.js
npm run test
#npm run test:relations