Skip to content

Specific repo housing codelabs that are part of the Solace Codelabs

Notifications You must be signed in to change notification settings

dishantlangayan/solace-dev-codelabs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Codelabs Site Repo Netlify Status Weekly link checker

Solace Codelabs

The purpose of these codelabs is to create easily consumable, step-by-step tutorials that walk a developer to achieve a goal.

This repository is included as a submodule in the main site repo. The main codelabs site is deployed from that repo and codelab artifacts are kept here.

Directories

  • codelabs - contains codelabs that will be served up on https://codelabs.solace.dev/. The raw markdown file is exported into this directory via the claat tool.
  • markdown - This directory contains the markdown file that the codelabs were generated from.

How to Contribute

Prepare your repository

  1. Fork this main repository by clicking on the Fork button on the top right
  2. From a terminal window, clone your fork of the repo git clone [email protected]:<Your_Github_User>/solace-dev-codelabs.git
  3. Navigate to the newly cloned directory cd solace-dev-codelabs
  4. Checkout a local branch for your new codelab git checkout -b add-codelab-<name_of_codelab>

Option 1 - Script

  1. Setup your environment
  2. Read the solace guidelines
  3. From the root directory, run ./init.sh <name-of-codelab> script
  4. Navigate to /markdown/name-of-codelab
  5. Run the following from terminal npm install; npm run watch
  6. Edit your <name-of-codelab>.md file in your text editor of choice
  7. When ready, run export.sh
  8. Navigate to the codelabs root directory (cd ../../), add and commit your changes in a PR. From the root directory,
cd ../../ #to navigate to the root of the codelabs dir
git add .
git commit -m "add new codelab: <name of codelab>"
git push origin add-codelab-<name_of_codelab>

Note: origin in the command above the name of the remote repository. If your remote repository is of a different name then you will have to git push <name_of_remote_repo> add-codelab-<name_of_codelab>

Option 2 - Manual

Follow the steps in this tutorial: https://codelabs.solace.dev/codelabs/codelab-4-codelab

Note: original markdown of this codelab is found under codelabs/codelab-4-codelab

Learn About CodeLab

About

Specific repo housing codelabs that are part of the Solace Codelabs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.7%
  • Shell 0.3%