/Molecule-Geographical-Position-Example

A Molecule example project to support the feedback in an industrial context.

Primary LanguageSmalltalkMIT LicenseMIT

License Tests

Molecule Geographical Position Example

image

Molecule Geographical Position Example is a repository showcasing one graphical example of using Molecule. The goal is to have a short and simple application that can be emulated in your existing work.

The application contains a component that connects to a positioning system hardware (GPS, GSM, WiFi, Galileo) and displays the data on a view map. The running application can switch between multiple positioning hardware.

Getting Started

This section detail how to install the project from scratch.

Get Pharo 11

Download and install the Pharo Launcher for your operating system (Windows, GNU/Linux or MacOs). The Pharo launcher help to download and install Pharo images and virtual machines, some documentation here.

Open the Pharo Launcher and create a new image:

Capture d'écran 2023-10-26 113038

In the official distribution list, select Pharo 11 (choose 32 or 64bits depending on your system) and click on Create image:

Capture d'écran 2023-10-26 113406

Depending on when you install Pharo 11, you may find it in the Deprecated distributions section.

Select the newly created image in the list then click "start":

Capture d'écran 2023-10-26 113618

Installation

In the pharo environment, left click on the environment background, and select Browse > Playground in the menu:

Capture d'écran 2023-10-26 113819

To install the project on your Pharo image you can just copy and paste the following script in the playground and click on Do it:

Metacello new
   baseline: 'MoleculeGeographicalPositionExample';
   repository: 'github://OpenSmock/Molecule-Geographical-Position-Example:main/src';
	onConflictUseIncoming;
   load.

Capture d'écran 2023-10-26 144324

It is possible that a window open asking you your author name, the name you enter is only use locally to identify the changes from the source code. Enter a name without space and click on OK.

Capture d'écran 2023-10-26 115727

Dependencies

  • Bloc - Low-level UI infrastructure & framework for Pharo.
  • Pyramid - Pyramid is an User-Interface (UI) editor.
  • Molecule - Molecule is a Pharo component framework.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Molecule Geographical Position Example uses images by Freepik Company, S.L. requires citations https://www.freepikcompany.com/legal

Molecule Geographical Position Example uses images by OpenStreetMap® Open Data Commons Open Database License (ODbL) https://opendatacommons.org/licenses/odbl/