Skip to content

Wiki_NewVersion_Migration

Stefano Balietti edited this page Apr 17, 2018 · 6 revisions

Migration steps.

This page is for nodeGame wiki's administrators.

Steps

Assuming we are migrating from v3 to v4.

  • Copy folder v3 to v4. Inside v4 executes the following commands.
# Replace all instances of vx with vy inside files.
find . -type f -not -path "./images/*" -exec sed -i 's/v3/v4/g' {} +

## Replace all instances of vx with vy inside files.
find . -type f -not -path "./images/*" -exec sed -i 's/3.x/4.x/g' {} +

## Double checks images are fine.

## Replace all instances of v3 with v4 in file names.
find . -name '*v3.md' -type f -exec bash -c 'git mv "$1" "${1/v3/v4}"' -- {} \;
  • Make a copy of old Home.md to Home-v3.md

  • Rename links in top level files (such as Home.md)

  • Make migration, and new feature page (include contributors) page in v4.

  • Upload new images in the wiki to nodegame.org

Clone this wiki locally