Code Monkey home page Code Monkey logo

tutorial-compiler's People

Contributors

denise-khuu avatar derochs avatar dixyushi avatar eduardkrieger avatar guentherjulian avatar marceldiessner avatar maybeec avatar mustafaokyay avatar schettlerkoehler avatar suvmanda avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tutorial-compiler's Issues

katacoda runner: restoreDevonfwIde

Implement the command restoreDevonfwIde in the katacoda runner. Gets the modules to install as parameter.
The installation is executed in a startup script.

katacoda runner: buildNg

Implement the command buildNg in the katacoda runner. Gets the path to the angular project as parameter.

katacoda runner: downloadFile

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.

console runner: installDevonIde

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.

katacoda runner: npmInstall

Implement the command npmInstall in the katacoda runner. Gets the path to the project/directory as paramter in which the command should be executed.

console runner: downloadFile

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.

katacoda runner: installDevonIde

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.

assertion: directoryExists

Create an assersion that checks if a given directory exists. Add the assersion to the fluent interface.

console runner: runClientNg

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

katacoda runner: link the github repo in the intro

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.

katacoda runner: runClientNg

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.

katacoda runner: buildJava

Implement the command buildJava in the katacoda runner. Optional paramenter for runTests. Default false.

assertion: serverIsReachable

Implement the assertion serverIsReachable. The Assertion checks if the specified URL on the specified port is reachable.

Path handling enhancement: Improve the handling of filepaths to work with and without devon ide

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.

console runner: changeFile

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.

console runner: cloneRepository

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.

console runner: npmInstall

Implement the command npmInstall in the console runner. Gets the path to the project/directory as parameter in which the command should be executed.

katacoda runner: changeFile

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.

console runner: buildNg

Implement the command buildNg in the console runner. Gets the path to the angular project as parameter.

console runner: restoreWorkspace

Implement the command restoreWorkspace in the console runner.
Idea is to load an existing state into the workspace directory (maybe from an repository)

console runner: restoreDevonfwIde

Implement the command restoreDevonfwIde in the console runner. Gets the modules to install as parameter.
The command does the same as the command installDevonfwIde.

katacoda runner: runServerJava

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.

console runner: installDevonIde enhancement (configuration of ide version)

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.

assertion: fileExists

Create an assersion that checks if a given file exists. Add the assersion to the fluent interface.

katacoda runner: cloneRepository

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.

katacoda runner: createFile

Implement the command createFile in the katacoda runner.
Parameters:

  • path of the file to create
  • (optional) path of a file in the playbook to get the content of the new file from

katacoda runner: restoreWorkspace

Implement the command restoreWorkspace in the katacoda runner.
Idea is to load an existing state into the workspace directory (maybe from an repository).

console runner: buildJava

Implement the command buildJava in the console runner. Optional paramenter for runTests. Default true.

console runner: createFile

Implement the command createFile in the console runner.
Parameters:

  • path of the file to create
  • (optional) path of a file in the playbook to get the content of the new file from

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.