AppSuite:Upgrading themes to 7 6: Difference between revisions
From Open-Xchange
No edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
This article guides through the mandatory steps to update themes from 7.4.x to 7.6.0. It's does not cover what is necessary to migrate to the new build system. | This article guides through the mandatory steps to update themes from 7.4.x to 7.6.0. It's does not cover what is necessary to migrate to the new build system. | ||
Prerequisite | ==Prerequisite== | ||
'''You need a built core UI!''' See [[AppSuite:GettingStartedWithGrunt|Getting Started With Grunt]]. | |||
Steps | ==Steps== | ||
# First time: Clone the git repository. Make sure you're in the proper branch. Don't forget to git pull. | # First time: Clone the git repository. Make sure you're in the proper branch. Don't forget to git pull. | ||
# First time: Run '''npm install''' | # First time: Run '''npm install''' | ||
# Run '''grunt connect watch'''. If you already have a local grunt config, you're done. Otherwise you will be notified that | # Run '''grunt connect watch'''. If you already have a local grunt config for this repository, you're done. Otherwise you will be notified that '''coreDir''' is not configured. Grunt will offer you a command to get a basic grunt config (see next step)- | ||
# Run '''grunt show-config:local --output grunt/local.conf.json''' | # Run '''grunt show-config:local --output grunt/local.conf.json''' | ||
# Edit grunt/local.conf.json to have a proper '''coreDir'''. Just enter the absolute path to | # Edit grunt/local.conf.json to have a proper '''coreDir'''. Just enter the absolute path to ''ui/build'' of the core UI. Also enter a running '''server'''. | ||
# Run '''grunt connect watch''' again. | # Run '''grunt connect watch''' again. |
Revision as of 08:00, 1 July 2014
Upgrading themes to 7.6
This article guides through the mandatory steps to update themes from 7.4.x to 7.6.0. It's does not cover what is necessary to migrate to the new build system.
Prerequisite
You need a built core UI! See Getting Started With Grunt.
Steps
- First time: Clone the git repository. Make sure you're in the proper branch. Don't forget to git pull.
- First time: Run npm install
- Run grunt connect watch. If you already have a local grunt config for this repository, you're done. Otherwise you will be notified that coreDir is not configured. Grunt will offer you a command to get a basic grunt config (see next step)-
- Run grunt show-config:local --output grunt/local.conf.json
- Edit grunt/local.conf.json to have a proper coreDir. Just enter the absolute path to ui/build of the core UI. Also enter a running server.
- Run grunt connect watch again.