Introduction

This will reset everything in your content-app to the factory defaults of any specific version. You may want to do this if you have a installation template that hat an older content-app installed, and now you want to update your template to have a newer content-app. 

Important

  • This will delete any content you already added, since it completely resets the app. 
  • Any modules you already added - including such that just show demo-content - will usually error after the reset, since the configuration for those modules will be lost. 

Steps

  1. Go to the Content-apps folder [portal-root]/2sxc/Content and delete everything in that folder. The folder should then be empty. 
  2. Git-clone Content App repository into that folder, usually by opening a command line there and running git clone https://github.com/2sic/2sxc-content-app . (the trailing dot is important).

    1. You should now have the newest folder structure in your 2sxc/Content folder, so you should for example have a 2sxc/Content/bs4 folder
    2. Note that you could have also downloaded the files somewhere else and just copied the entire folder structure to that location. If you do this manually, make sure the Content/.data folder is included as well. 
  3. Reset the app-state (all view definitions, content-types, etc.)
  4. The app will reset everything except for the App Configuration. Because of this, the version number you'll see will not be updated, even if everything else was updated. If this is important to you, just change that manually.