/babylon-strapi

CMS for the babylon webpage incl. data.

Primary LanguageJavaScript

Babylon CMS

This is the CMS for the homepage of Babylon Metropolis Verlag.

Installing

nvm use
npm i
npm run build
npm run start

Starting

  • node version >= 10 is required
$ node -v
v8.16.0
$ nvm use stable
Now using node v12.10.0 (npm v6.10.3)

Add a new publication

  1. Move into the folder and start the cms
cd babylon-strapi
nvm use
npm run develop
  1. Open the browser and login. http://localhost:65332/admin
  2. Add you publication.
  3. Change to the sitegenerator and generate
cd bablyon-gatsby
nvm use
npm run build
  1. Copy the deployment to online
mv public babylon-metropolis-202212181200
tar czf babylon-metropolis-202212181200.tgz babylon-metropolis-202212181200
scp babylon-metropolis-202212181200.tgz superlea@maury.uberspace.de:~/virtual/ 
  1. SSH to server and switch to new deployment
ssh superlea@maury.uberspace.de
cd virtual
tar xzf babylon-metropolis-202212181200.tgz
cd html
rm babylon-metropolis
ln -s ../babylon-metropolis-202212181200 babylon-metropolis
  1. In the browser: check if your modifications are there. babylon-metropolis.com

Credits

The CMS is based on strapi. An awesome opensource and free CMS, that you can install on your own machine. Simple and easy.