Naviga Web
Docs Home
  • Introduction
  • Release notes
  • Starter kit
    • Introduction
    • Environment Variables
    • Makefile
    • Changelog
    • API
  • Feature: Advanced Search
    • User guide
    • Search Help
    • How to Setup
    • Technical Details
  • Developer documentation
    • Developer prerequisites
      • Developer hardware suggestions
      • Setup on Windows
      • Setup on Linux/Ubuntu
    • Getting started with development
      • Composer package management
      • Gulp and asset building (optional)
      • Git
      • Hosts file
      • Certificate
      • Initiate Naviga Web
      • Start Naviga Web
      • Bin scripts
      • Create theme
      • Environments
      • Deployment
      • Onboarding tasks
        • #0 - New site
        • #1 - Configuration
        • #2 - Front page
        • #3 - Content presentation
        • #4 - OC List
        • #5 - Content containers
        • #6 - Teaser template
        • #7 - Single article
        • #8 - Widget
        • #9 - Custom task
        • #10 - Feedback
    • Architecture
    • Paywall and authentication
      • CloudFront Paywall
      • Engage paywall
      • Lua Paywall (deprecated)
    • Project management: A typical project
    • Database dump
    • Debugging
    • Keep your project up-to-date
    • Gulp and Sass
    • Domain mapping
    • Widgets overview
  • Starter kit packages
    • Base package
      • Changelog
    • Boards plugin (EveryBoard)
      • Installation
      • Setup
      • Board Widgets
        • Linked board
        • Template board
        • Embed widget
        • OC List item
        • Content container
      • Teaser templates
      • Actions and filters
      • Export - import
      • Changelog
    • ContentSync plugin
      • Usage
      • Changelog
    • Drop In Plugins package
      • Changelog
    • Everyware plugin
      • Installation
      • Setup
      • Actions and filters
      • Fetching lists and their content
      • Sorting
      • Widgets
      • Changelog
    • Imengine package
      • Helper class: Imengine
      • Changelog
    • NewsML package
      • Idf Parser
      • Changelog
      • Usage
    • NGINX conf package
      • API
      • Changelog
      • Usage
    • Presentation Preview plugin
      • API
      • Changelog
      • Usage
    • Support package
      • Changelog
    • Theme EU resources package*
      • Changelog
    • Theme US resources package
      • Changelog
    • Twig package
      • Development
        • Filters
          • class_string
          • spacey
          • trim_array
        • Functions
          • php_function
          • php_method
          • render_classes
          • render_partial
        • Operators
          • contains
      • Helper classes
        • View
        • ViewSetup
      • Changelog
  • Widgets and component packages
    • Article List widget
      • Installation
      • Using Article List
      • Changelog
    • Menu handler
      • Usage
      • Changelog
    • Section Header widget
      • Changelog
    • Social media icons widget
      • Installation
      • Changelog
    • Google Analytics plugin
      • Set up Google Analytics
      • Most read widget
      • Changelog
    • Redirect Original URLs plugin
      • Installation
      • Changelog
    • Settings Parameters plugin
      • Installation
      • Usage
      • Changelog
  • Design and theme packages
    • Base theme 1
      • Changelog
    • Base theme 2
      • Colors
      • Fonts
      • Header
      • Menus
      • Pages with Board
      • Sidebars
      • Teaser layouts
      • Article page (text)
      • Article page (embeds)
      • Changelog
    • Example theme
      • Changelog
  • MU Plugins
    • Project Plugin
      • Installation
      • Changelog
    • Starter Package Catalyst
    • Concepts
      • Admin Pages
        • All Concepts
        • Add New Concept
        • Types
        • Errors
        • Concept duplicates
      • API
      • Console
      • Changelog
    • Network
      • Changelog
    • Cache Invalidator
      • Getting Started & WP admin
      • Implementation of Lua endpoint
      • Filters
      • Changelog
    • RSS Feeds
      • Setup
      • Administration pages
      • Changelog
  • Services
    • Imengine
    • Imengine documentation
    • Open Content
    • Writer Bookmarklet
Powered by GitBook
On this page
  • Update to latest WordPress patch version
  • Update to latest PHP patch version
  • Update Composer dependencies
  • Update Node dependencies

Was this helpful?

  1. Developer documentation

Keep your project up-to-date

For security and functionality reasons you should keep your project updated with latest version. Naviga maintain the version in StarterKit. Here's what you need to maintain in your project.

Update to latest WordPress patch version

Step 1: Test the new version locally

./bin/wordpress-install.sh -v 5.8.0
./bin/wordpress-install.sh -v 5.8.*

Step 2: Set the version you tested in bin/init.sh.

./bin/init.sh
##
 # The version can contain wildcard:
 #+ 1.2.3 - Will fetch the exact version
 #+ 1.2.* - Will fetch the latest patch on version
 #+ 1.* - Will fetch the latest minor on version
 #
WORDPRESS_VERSION="5.8.3"

This version will be used on server deploys.

Other developers will automatically get the version when running.

Step 3: Install the Wordpress version you specified.

make init  # Choose to reinstall WordPress when prompted 

Update to latest PHP patch version

Step 2:

Set version for local development in ./docker-compose-local.yml.

Set version for AWS server hosting in ./docker-compose.yml.

Example docker-compose.yml
php-fpm:
    image: infomakerscandinaviaab/php-fpm:7.4.24

Naviga Web packages and StarterKit are continuously updated with PHP versions.

Update Composer dependencies

Step 1: Update to latest package versions based on constraints in ./composer.json.

# Check what packages can be updated (optional)
composer outdated

# Run with composer through Docker container (preferred)
make composer update

# Or run with locally installed composer
composer update

Step 2: Test and verify the new package versions.

Step 3: Commit composer.lock to save versions into your project.

Update Node dependencies

Step 1: Check what is old and could be updated.

npm outdated

Step 2: Update the packages you want manually.

npm install <package name>@<version>

Step 3: Commit package.json and package-lock.json to save versions into your project.

PreviousDebuggingNextGulp and Sass

Last updated 2 years ago

Was this helpful?

Step 1: Find latest patch version for .

our php-fpm on Dockerhub
Learn more about Composer
Naviga Composer packages
Learn more about NPM