Skip to content
Snippets Groups Projects
Commit 2be79192 authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Added database instructions

parent 89dc1ad2
No related branches found
No related tags found
No related merge requests found
Pipeline #54763 passed
...@@ -16,3 +16,10 @@ Provides a plugin for the Wordpress CMS to display data in a 3-dimensional graph ...@@ -16,3 +16,10 @@ Provides a plugin for the Wordpress CMS to display data in a 3-dimensional graph
This project uses prettier and eslint. Make sure to configure your IDE to use them. This project uses prettier and eslint. Make sure to configure your IDE to use them.
To run the project run ``npm run watch``. This starts a parcel instance which automatically builds the project and updates the webserver via HMR. To run the project run ``npm run watch``. This starts a parcel instance which automatically builds the project and updates the webserver via HMR.
## Switching to the database version
To make sure that Wordpress created all necessary tables, please **deactivate** and then **activate** this plugin again.
To move all the old spaces to the new storage, on the admin panel **navigate to Knowledge Space > Editor**. There you **open the settings** by clicking on the cog on the right side of the toolbar. Scroll down to find the "**Import Space**" section, which you will use to import old spaces. You can find the old spaces in the plugin folder under **datasets > spaces**. For the name for the import section use the filename *without* extension ("space.json" => "space") and for the
JSON simply use the content of the file, optionally minified with a tool like [https://jsonformatter.org/json-minify](https://jsonformatter.org/json-minify).
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment