devonfw-tutorials / tutorial-compiler Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Implement the command installClientNg in the console runner.
Implement the command runServerJava in the console runner. Gets the path to the java project as parameter.
Implement the command dockerCompose in the console runner. Gets the path to the docker file as parameter.
Implement the command restoreDevonfwIde in the katacoda runner. Gets the modules to install as parameter.
The installation is executed in a startup script.
Implement the command buildNg in the katacoda runner. Gets the path to the angular project as parameter.
The installDevonIde command for the console runner is extended to install different versions of the devonfw ide.
It should be possible to configure the version for the devonfw ide by a variable (for example ide.version). If the variable is not set the last released version will be installed.
Create an assersion that checks if a given directory is not empty
When installing the devonfw ide in katacoda with the command 'restoreDevonfwIde', then one is not able to use the devon commands. It is not available in the terminal.
This is because the command '. ~/.bashrc' in the setup script is not executed in the user's terminal, but in the backend.
Extend the command changeFile in katacoda and console runner by the possibility of inserting text at a position in a file that is determined by the line number
Implement the command downloadFile in the katacoda runner. Gets the url of the file and the path where the file should be saved as parameters.
Implement the command installDevonIde in the console runner. The command gets the modules to install as parameter. To implement the command a bare git repo could be the way to go.
Get the version from the variable ide.version if it is set. Otherwise use the last released version.
Implement the command npmInstall in the katacoda runner. Gets the path to the project/directory as paramter in which the command should be executed.
Implement the command downloadFile in the console runner. Gets the url of the file and the path where the file should be saved as parameters.
Implement the command installDevonIde in the katacoda runner. The command gets the modules to install as parameter. To implement the command a bare git repo in the katacoda assets could be the way to go.
Create an assersion that checks if a given directory exists. Add the assersion to the fluent interface.
Implement the command createProject in the console runner. Gets the language and the project name as parameters.
Document how to create a new command
Implement the command createProject in the katacoda runner. Gets the language and the project name as parameters.
Implement the command runClientNg in the console runner. Gets the path to the angular project as parameter.
The command builds and serves the angular project
Show a link to the github repository and the the corresponding tutorial in the intro step of a katacoda tutorial.
And mention that the steps can be changed there via pull request if there are any error in the tutorial.
Implement the command runClientNg in the katacoda runner. Gets the path to the angular project as parameter.
The command builds and serves the angular project. For katacoda the host has to be 0.0.0.0.
The following steps must keep in mind that a new terminal is required. Alternatively, you can start the server in an own terminal.
Implement the command buildJava in the katacoda runner. Optional paramenter for runTests. Default false.
Implement the assertion serverIsReachable. The Assertion checks if the specified URL on the specified port is reachable.
Currently the paths in the commands are related to 'devonfw/workspaces/main'. However, in some tutorials it is not necessary to install ide before starting the other steps. So the commands should work without ide, too.
The idea is to set an environment variable in the installDevonfwIde step. If the variable is set, the following steps will use it in their paths. If no ide is installed, the paths that the playbook specifies are used.
Implement the command runCobiGenJava in the katacoda runner. Use the vs code plugin.
Implement the command changeFile in the console runner. Gets the path of a file, the name of a placeholder and a string that should be inserted or the path of a file with the content that should inserted. Maybe you need to use named parameters.
Implement the command cloneRepository in the console runner. Gets the path into which the repo is to be cloned and the repository URL as parameters.
Implement the command installClientNg in the katacoda runner.
Implement the command installCobiGen in the console runner.
Implement the command npmInstall in the console runner. Gets the path to the project/directory as parameter in which the command should be executed.
Implement the command changeFile in the katacoda runner. Gets the path of a file, the name of a placeholder and a string that should be inserted or the path of a file with the content that should inserted. Maybe you need to use named parameters.
Implement the command dockerCompose in the katacoda runner. Gets the path to the docker file as parameter.
Create a new build workflow that runs on a windows machine
Implement the command runCobiGenJava in the console runner.
Implement the command buildNg in the console runner. Gets the path to the angular project as parameter.
Document how to create an assertion.
Implement the command runCobiGenJava in the vs code runner.
Implement the command restoreWorkspace in the console runner.
Idea is to load an existing state into the workspace directory (maybe from an repository)
Implement the command restoreDevonfwIde in the console runner. Gets the modules to install as parameter.
The command does the same as the command installDevonfwIde.
Implement the command runServerJava in the katacoda runner. Gets the path to the java project as parameter.
The following steps must keep in mind that a new terminal is required. Alternatively, you can start the server in an own terminal.
The installDevonIde command for the console runner is extended to install different versions of the devonfw ide.
It should be possible to configure the version for the devonfw ide from a variable (for example ide.version). If the variable is not set the last released version will be installed.
Implement the command createFolder in the console and the katacoda runner. The command should create the whole directory path.
Create an assersion that checks if a given file exists. Add the assersion to the fluent interface.
Implement the command cloneRepository in the katacoda runner. Gets the path into which the repo is to be cloned and the repository URL as parameters.
In the asciidoc you can add only one function to a step, but in some cases the functions are designed to be just added to an existing step.
Implement the command installCobiGen in the katacoda runner.
Implement the command createFile in the katacoda runner.
Parameters:
Implement the command restoreWorkspace in the katacoda runner.
Idea is to load an existing state into the workspace directory (maybe from an repository).
Implement the command buildJava in the console runner. Optional paramenter for runTests. Default true.
Implement the command createFile in the console runner.
Parameters:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.