diff --git a/README.md b/README.md index 3b5aecb..66d3d2b 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,9 @@ -# trainee-release-with-git +# Hello world -This is the trainee course material for the session "Release with Git" which -aims to build upon the course [Version Control With Git](https://github.com/Lundalogik/version-control-with-git). +NodeJS hello world -The slides for this course can be found at - F:/Common/Training/Trainee/Trainee 2023/Trainee 2023 - reunion Q1 (start in Q3 22)/Sessions/2023-01-13 (AC+SE) Releasing software with Git (JOA) - +## How to run -The exercises of this course touches these topics: - -* Conventional Commits -* Semantic Release -* GitHub Actions Workflows -* Automated releases on GitHub -* Working with Pre-Releases -* Fixup commits and interactive rebasing - -# Setting up the environment - -1. Copy this repository to your personal GitHub account using the [Import repository](https://docs.github.com/en/get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer) feature on GitHub. _Important: Don't fork the repository and if you choose to make your imported repository private, you may need to add access for your trainer._ -2. Go to your created repository on GitHub and then click Settings -3. Navigate to Actions -> General section -4. Select "Allow all actions and reusable workflows" in "Actions permissions" and click Save -5. Select "Read and write permissions" in "Workflow permissions" and click Save -6. Go to the now visible Actions tab in your repository -7. If you are presented the button "Enable GitHub Actions" - click it! -8. Clone the repository created under your personal account - -During this course you can use the tools you normally use to work with Git, -but it's recommended to use the Git CLI. Although tools like VSCode offer a GUI -to do commits and rebase operations, it does not currently allow the user to -make fixup commits. - -Once you're done, pop over to [the exercises](exercises.md) and let the fun -begin! - -# More info / resources - -* [Semantic Release: Release Workflows](https://semantic-release.gitbook.io/semantic-release/recipes/release-workflow) -* [Git Rebase: Git In Practice](https://www.thinktecture.com/en/tools/demystifying-git-rebase) -* [Video: VSCode GitLens Interactive Rebase UI](https://www.youtube.com/watch?v=P5p71fguFNI) +``` +node index.js +``` diff --git a/index.js b/index.js index 635625a..ba99050 100644 --- a/index.js +++ b/index.js @@ -1 +1,3 @@ -console.log("Hello world!"); \ No newline at end of file +// Prints hello world and current time to the user +console.log("Hello world!"); +console.log(new Date());