README
Smart Contract Generator
Gitlab Repository Installation
Local execution
Use start scripts to start the generator.
- Install node.js
- Clone Repository
git clone git@gitlab.com:FelixFranz/FHWS/smart-contract-generation/generator.git
- Open Folder
cd generator
- Run
Start.bat
on Windows orStart.sh
on Linux to start the generator
Commandline arguments
Using the start scripts also allowes you to use commandline arguments.
Checkout available commands using ./Start.sh --help
or Start.bat --help
E.g. start generator in hedless mode using one of following commands:
- Windows:
Start.bat --headless
- Linux:
./Start.sh --headless
Docker container execution
- Install Docker
- Start Image on port 8080:
sudo docker run -p 8080:8080 -d --name generator registry.gitlab.com/felixfranz/fhws/smart-contract-generation/generator:latest
NPM Installation
- Install node.js
- Install Smart Contract Generator:
npm install -g smart-contract-generator
- Start generator:
smart-contract-generator
Docker Installation
Run Docker image using Docker Hub
You need to run following command and replace <TAG>
:
sudo docker run -p 8080:8080 -d --name generator felixfranz/smart-contract-generator:<TAG>