https://github.com/mattsse/msphere-starter
A bare gradle mindsphere java sdk starter template
https://github.com/mattsse/msphere-starter
mindsphere template
Last synced: 8 days ago
JSON representation
A bare gradle mindsphere java sdk starter template
- Host: GitHub
- URL: https://github.com/mattsse/msphere-starter
- Owner: mattsse
- License: mit
- Created: 2019-02-07T21:11:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T15:43:42.000Z (over 6 years ago)
- Last Synced: 2025-08-17T16:15:13.646Z (2 months ago)
- Topics: mindsphere, template
- Language: Kotlin
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mindsphere starter
A bare starter template for the Mindsphere® java sdk with gradle
===================================================================
[](https://travis-ci.com/MattsSe/msphere-starter)
## Installation
### Use the npm package
```bash
# install package
npm install create-msphere -g
# create new starter project
create-msphere
```
### Use the repo
```bash
git clone https://github.com/MattsSe/msphere-starter
cd msphere-starter
gradlew build
```
## Usage
Create a new project from the commandline
Both options create a new project using gradle.
### 1. create a new starter project
#### With the installed npm package
```bash
create-msphere
```
#### With the build repo
```bash
java -jar build/libs/create-msphere-0.1.0.jar
```
### 2. Download the official Mindsphere® java sdk using one of the following options:
#### *Option 1: Download directly with gradle*
Simply run
```bash
./gradlew getSDK
```
If this fails then the download url is no longer valid. Please use *Option 2* and file an issue.
#### *Option 2: Manually via browser*
1. Download the MindSphere SDK from the [Siemens Industry Online Support Portal](https://support.industry.siemens.com/cs/ww/de/view/109757603). Requires a Siemens account.
Download the zip file and put it into the [./libs](./libs) folder. You don't need to unzip it.
2. Install the sdk manually:
```bash
./gradlew installSDK
```
#### Build project
```bash
./gradlew build
```