Skip to content

How to import existing file and folder structure? #132

Answered by redimp
DominikBritz asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @DominikBritz,

Yes! the most convenient way to do this is via git:

  1. Enable the Git Webserver via Settings > Application Preferences > Content end Editing Preferences > [x] Enable Git Webserver
  2. Depending on the structure you have, yu might want to set [x] Retain page name case, too.
  3. Clone the (empty) Otterwiki locally, git clone https://otterwiki.example.com/.git -- You find the url on your Settings page.
  4. Copy your existing files and directories into the local repo, run git add, git commit and finally git push.

Another way would be to just copy the files into the directroy volume (when running in docker) and running git add and git commit as user www-data/uid 33.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by redimp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants