75. Skip to content

75. Deploying into the server

75.1 Preparing the server

ssh usernamr@server_ip

sudo apt install docker-compose docker.io git make nginx

75.2 BIMS

75.2.1 Getting the code source

cd ../
sudo mkdir bims
sudo chown kartoza:kartoza bims
cd bims
git clone https://github.com/kartoza/django-bims.git

75.2.2 Build docker images

cd deployement
cp docker-compose.override.template.yml docker-compose.override.yml
cd ../
make web

75.3 GeoContext

75.3.1 Getting the code source

cd bims
git clone https://github.com/kartoza/geocontext.git

75.3.2 Build docker images

cd geocontext/deployment
make build
make start-web 

75.4 NGINX Configuration