Skip to content

Commit

Permalink
Fix docs (#234)
Browse files Browse the repository at this point in the history
* Add missing commented packages for windows docs

* Make windows docs more clearer

* Add java JDK section for installer docs
  • Loading branch information
MoRadwan74 authored Mar 7, 2022
1 parent 7b222b8 commit a8e1ea5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/installation/windows-installer.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ This guide describes the steps of installing and running Cartoview installer **v

## Installation

## Install Java JDK
Cartoview installer requires Java Development Kit to be installed. You can download the x64 installer from [here](https://www.oracle.com/java/technologies/downloads/).

!!! note
For the current release, Cartoview supports Java [8](https://www.oracle.com/java/technologies/downloads/#java8-windows), [11](https://www.oracle.com/java/technologies/downloads/#java11-windows), and [17](https://www.oracle.com/java/technologies/downloads/#jdk17-windows).

### Request Cartoview Installer
The installer can be requested and downloaded from [here](https://cartoview.net/download/).

Expand Down
6 changes: 4 additions & 2 deletions docs/installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Clone [GeoNode-3.3.0](https://github.com/GeoNode/geonode/tree/3.3.0) from GitHub
git clone -b 3.3.0 https://github.com/GeoNode/geonode.git
```

Edit `requirement.txt` and `setup.cfg` files commenting the **production** and **test** packages as they are not compatible with Windows environment.
Edit `requirement.txt` and `setup.cfg` files commenting the **production** and **test** packages alongside `pylibmc` and `sherlock` as they are not compatible with Windows environment.

Install GeoNode packages.
```shell
Expand All @@ -269,6 +269,8 @@ pip install -e .

### Install Cartoview

Navigate inside ``cartoview_service`` directory and make sure ``cartoview_venv`` is still activated.

Download Cartoview 1.33.0 version by cloning the repository and checkout the release tag.
```shell
git clone -b v1.33.0 https://github.com/cartologic/cartoview.git
Expand Down Expand Up @@ -357,7 +359,7 @@ lib_names = ['gdal203', 'gdal202', 'gdal201', 'gdal20', 'gdal111']
lib_names = ['gdal302', 'gdal203', 'gdal202', 'gdal201', 'gdal20', 'gdal111']
```

To make sure everything is working properly, open Pycharm terminal and make sure the `cartoview_service` virtual environment is activated, and run the following command.
To make sure everything is working properly, open Pycharm terminal and make sure the `cartoview_service` virtual environment is activated, navigate inside ``cartoview_service/cartoview``, and run the following command.
```shell
python manage.py check
```
Expand Down

0 comments on commit a8e1ea5

Please sign in to comment.