developer environment

Web version of freeciv at
User avatar
Posts: 6
Joined: Mon Apr 23, 2018 6:33 pm

developer environment

Postby simsulla » Mon Apr 30, 2018 11:38 am

Ok, so I forked the repo, and following the remade instructions built the docker container and started it up (still struggling with the freeciv-proxy that of some reason does not do what is intended).

But that build is heavily modifying images, patching etc and you end-up with a virtual environment. Is there any documentation on how to set up your development environment locally on Linux (ide like intellij/eclipse.. etc.). I cant find any hints on that? Or do I need to decipher the "docker" scripts to figure out how to setup an local environment?

Posts: 1701
Joined: Tue Jan 29, 2013 6:54 pm

Re: developer environment

Postby cazfi » Mon Apr 30, 2018 4:19 pm

I used to do freeciv-web development without using virtual machine, but gave up as more and more things in that setup got broken by people hardcoding things like they are in the virtual machine. Now it has slowed down, though, so it might be feasible to fix those existing issues against running freeciv-web without virtual machine.

Posts: 56
Joined: Sun Mar 26, 2017 5:34 pm

Re: developer environment

Postby madmax » Wed May 02, 2018 8:35 am

Vagrant is still the preferred installation method. It's not only a virtual environment but a virtual machine, though, so I guess it's harder on resources than docker. On the other hand, you have local access to the sources, so you can modify locally and log into the VM to start/stop the services.

If you are very brave, you may pull from the unified_install_script and try the install script on the bare machine, but it will overwrite some of your configuration, not just build a development sandbox.

Posts: 430
Joined: Wed Feb 20, 2013 4:50 pm

Re: developer environment

Postby sveinung » Thu May 03, 2018 12:05 pm

I do freeciv-web development without using a virtual machine. Got it working by reading the install scripts. When I do Freeciv-web development after a break my set up is often broken. It takes some time to fix it, usually after looking at the changes to scripts/ I look forward to unified_install_script