Skip to content

Commit

Permalink
adjust Anaconda quickstart according to #82
Browse files Browse the repository at this point in the history
  • Loading branch information
treee111 committed Jan 19, 2022
1 parent a8f4331 commit 0a32ee2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 29 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ If anything is unclear or just wrong, write an issue!

### Overview of the steps
The steps for all OS are similar:
- Download and Install required programs
- Download a release of wahooMapsCreator or clone Repository
- Download wahooMapsCreator and install required programs
- Run wahooMapsCreator for your country
- Copy the map-files to your device

Expand All @@ -34,16 +33,9 @@ Optional:
### Download and Install required programs
The initial setup takes some minutes but is only a one-timer!

Follow the Quick Start guide depending on your OS:
- [Quick Start Guide for Windows](docs/QUICKSTART_WINDOWS.md)
- [Quick Start Guide for macOS and Linus](docs/QUICKSTART_MACOS.md)

Or use Anaconda to create a Python environment
Using Anaconda to setup a virtual Python environment is the fastest way to get wahooMapsCreator running!
- [Quick Start Guide for Anaconda](docs/QUICKSTART_ANACONDA.md)

### Get wahooMapsCreator
Download the latest Release from the ["Releases" Section](https://github.com/treee111/wahooMapsCreator/releases) and Save the folder on your drive. You can also clone the repository and have the latest coding.

## Run wahooMapsCreator
wahooMapsCreator can be used in two different ways:
- as [graphical window](#gui-graphical-user-interface) programm
Expand Down
35 changes: 16 additions & 19 deletions docs/QUICKSTART_ANACONDA.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,37 @@
#### Table of contents <!-- omit in toc -->
- [Download and Install required programs](#download-and-install-required-programs)
- [Anaconda](#anaconda)
- [wahooMapsCreator](#wahoomapscreator)
- [Create Anaconda Environment](#create-anaconda-environment)
- [Run wahooMapsCreator](#run-wahoomapscreator)

# Download and Install required programs

## Anaconda
1a. Download `Anaconda Individual Edition` for your OS from
1. Download `Anaconda Individual Edition` for your OS from

https://www.anaconda.com/products/individual


1b. Install `Anaconda Individual Edition` with default settings
2. Install `Anaconda Individual Edition` with default settings

# Create Anaconda Environment
You can have a look at this: which guides you throught 2a and 2b!

https://opensourceoptions.com/blog/how-to-install-gdal-with-anaconda/
## wahooMapsCreator
Download the latest .zip file from the [Releases](https://github.com/treee111/wahooMapsCreator/releases) page and save the folder on your drive. Extract the folder.

2a. Create a new Anaconda Environment using Python 3.7 and activate the environment
```
conda create -n conda-gdal python=3.7
```
You can also clone the repository to have the latest coding.

2b. install the required Anaconda Python package GDAL
# Create Anaconda Environment
1. Open (or change to) the root of the extracted wahooMapsCreator folder in terminal or cmd prompt
2. Create a new Anaconda environment via
```
conda install -c conda-forge gdal
conda env create --prefix ./envs -f ./conda_env/enduser.yml
```
2b. In addition to GDAL, you have to install these packages:
3. activate Anaconda environment with the command printed out
```
conda install -c conda-forge geojson
conda install -c conda-forge requests
conda install -c conda-forge shapely
conda activate <PATH_TO_FOLDER>/wahooMapsCreator/envs
```
# Run wahooMapsCreator
Run wahooMapsCreater as described in the [README](../README.md/#Run-wahooMapsCreator)

You have to move to the downloaded/cloned folder via the Anaconda Prompt before or during your Anaconda environment is activated.
Additional informations: https://opensourceoptions.com/blog/how-to-install-gdal-with-anaconda/

# Run wahooMapsCreator
Run wahooMapsCreater as described in the [README](../README.md/#Run-wahooMapsCreator)

0 comments on commit 0a32ee2

Please sign in to comment.