Upgrading

This article describes how to upgrade App Studio and Appkit.

Upgrade App Studio

When you upgrade Fusion Server, that also upgrades App Studio, including Appkit, to the current version.

This doesn’t upgrade the version of Appkit used in existing apps. For that procedure, see the next section.

Upgrade Appkit in existing apps

When you create an Appkit webapp, it uses a specific version of Appkit. Appkit releases occur independently of App Studio releases.

You can upgrade webapps to use the latest version of Appkit.

To upgrade
  1. Stop the app.

  2. In the package.json file at the root of your project, update the appkit-ui dependency to the latest Appkit version, for example:

    "appkit-ui": "http://appkit.lucidworks.com/repo/4.2.0/appkit-ui.tar.gz",
  3. In the pom.xml file at the root of your project, update the value of the parent.version property to the latest Appkit version, for example:

        <parent>
            <groupId>twigkit</groupId>
            <artifactId>twigkit.app.js</artifactId>
            <version>4.2.0</version>
        </parent>
  4. In the pom.xml file at the root of your project, add (or replace if it already exists) the POM dependency for the Appkit Social module:

    <dependency>
    	<groupId>twigkit</groupId>
    	<artifactId>twigkit.social.provider.platform</artifactId>
    	<version>${project.parent.version}</version>
    </dependency>
  5. Start the app.