-
Notifications
You must be signed in to change notification settings - Fork 0
Shift from vt map to vt
launch git bash
because we want to use terminal.
cd C:\docker
git clone [email protected]:narwassco/vt.git
cd vt
echo "db_user=postgres" >> .env
echo "db_password="{put database password}" >> .env
docker pull narwassco/vt:v0.0.1
- Change batch file path from
vt-map\create_vt.bat
tovt\create_vt.bat
. - Enable task to launch batch file frequently (we disabled the task last time).
Once status of task became ready
, check the condition of Github Action from here. It will be okay if Github Action succeeded to build and deploy.
We need to change URL from vt-map
to vt
.
Merge the bellow pull requests.
Once narwassco/mapbox-gl-js-client
's PR merged into master
branch, Github Action will automatically build and deploy the web application.
Check the condition of Github Action from here.
Access to https://narok.water-gis.com to check everything working well. You can open developer mode of chrome (press F12
) to make sure tile's url was changed from vt-map
to vt
.
We can delete unnecessary repository and docker image in order to save disk space on your computer.
launch git bash
.
cd C:\docker
ll
rm -rf postgis2geojson
rm -rf vt-map
docker image ls
# check ID of docker image for vt-map and postgis2geojson which we installed before
docker image rm {image ID}. # repeat this until we delete all.
new vt
tool doesn't also require Nodejs
. We can uninstall Nodejs
from Windows.
DONE!!