incomplete

1. Create ssh key and upload it

create ssh key and upload it to gitlab.com

https://about.gitlab.com/2014/03/04/add-ssh-key-screencast/

2. Clone evol-all repository

2.1. Open command line/terminal

~$

2.2. Clone repository

run command:

git clone git@gitlab.com:evol/evol-all.git

You will see:

$ git clone git@gitlab.com:evol/evol-all.git
Cloning into 'evol-all'...
remote: Counting objects: 69, done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 69 (delta 36), reused 0 (delta 0)
Receiving objects: 100% (69/69), 7.05 KiB | 0 bytes/s, done.
Resolving deltas: 100% (36/36), done.
Checking connectivity... done.

3. Add tasks what you need

Before next steps you should open terminal in evol-all direcory.

You should something like this:

$~/evol-all

Depend what kind of development you will do, you need run of any additional steps.

Also you can mix any of 4.x. steps in one directory.

3.1. Server code development

If you want run or develop server code or server content, you must install “server” task.

run command:

./init.sh server

and you will see repository cloning progress.

After will be created new directories: server-code, server-data, server-plugin

3.2. Run manaplus or client data / art / maps etc. development

If you want develop client side content, you must install “client” task.

run command:

./init.sh client

and you will see repository cloning progress.

After will be created new directories: client-data, tools

If you want latest ManaPlus version, you also should install task “manaplus” and build it. See 3.5.

3.3. Music

If you want develop music, you must install “music” task.

run command:

./init.sh music

and you will see repository cloning progress.

After will be created new directories: music

3.4. Local server

run command:

./init.sh local

and you will see repository cloning progress.

After will be created new directories: server-local, server-code, server-data, server-plugin

Probably you also should add task “client” for running ManaPlus. See 3.2.

See also local server

3.5. ManaPlus

If you want develop ManaPlus or want run ManaPlus from git, you should install “manaplus” task.

run command:

./init.sh manaplus

and you will see repository cloning progress.

After will be created new directories: manaplus

3.6. All

If you want all tasks at same time, you must install task “all”.

run command:

./init.sh all

and you will see repository cloning progress.

After will be created new directories for all possible work.

4. Install and configure mariadb server

For run server you need install and configure mysql or mariadb.

See here

5.1. Run client and connect to server

Before running client you must install atleast server and client task or all task.

If you want run ManaPlus and connect to local server, run this:

cd tools/manaplus
./connect_local_server.sh

Client will start and connect to server.

6. Upgrade repository urls

If you cloned repository long ago, you need update repository urls.

If you not cloned repository, follow step 1.

Also you should register on https://gitlab.com/ and add own ssh key here.

Before next steps you should open terminal in evol-all direcory.

You should have something like this:

$~/evol-all

For update this repository url run this:

git config remote.origin.url git@gitlab.com:evol/evol-all.git

And now pull from this updated url:

git pull

Update all repositories urls:

./upgrade.sh gitlab

You will see something like this:

evol-all:
set origin to git@gitlab.com:evol/evol-all.git
client-data:
set origin to git@gitlab.com:evol/clientdata.git
...

And final step, you can pull from new repositories by run:

./pull.sh
Navigation
Print/export
Languages