Instructions for update server, client or data.

1. Updating repositories.

Update repositories need always if you see something new. This is first step for upading something else.

Open terminal in evol-all direcory.

You should see something like this:

$~/evol-all

1.1. Check is you have local changes

If you have local changes in one of repository, this repository will be not updated.

For check where you have changes run command:

./status.sh

If this command show nothing, you not have any changes, and can update all repositories.

If you have changes, better remove it or use “git stash” command in repository with changes to hide it, and after restore with command “git stash pop”

1.2. Update all repositories

Run command:

./pull.sh

You will see something like this:

evol-all:
Already up-to-date.
client-data:
Already up-to-date.
server-code:
Already up-to-date.
HEAD is now at f974512 Add way for detect what db to use mysql or mariadb.
server-data:
Updating 1c3fcae..b234a36
Fast-forward
...
server-local:
Already up-to-date.
tools:
Already up-to-date.
evol-hercules:
Already up-to-date.
music:
Already up-to-date.
manaplus:
Already up-to-date.

In this example was updated server-data repository.

2. Build server or client

After you complete first step, need rebuild server and/or client.

Before server compilation, need terminate it.

How build server see in Build server from sources

3. Update database

This step need only if you updating existing server.

Must be installed server task.

1. Open directory evol-all/tools/localserver

2. Run updatedb.sh:

$./updatedb.sh

You may see something like this:

$./updatedb.sh
Running 2015-07-02--18-14.sql
Running 2015-07-08--13-08.sql
Running 2015-08-27--20-42.sql

If no errors showed, database updated.

4. Update configuration

This step need only if you updating existing server.

Must be installed server task.

1. Open directory evol-all/tools/localserver

2. Run updateconfigs.sh:

$./updateconfigs.sh
Navigation
Print/export
Languages