znsio / specmatic-documentation

Turn your contracts into executable specifications. Contract Driven Development - Collaboratively Design & Independently Deploy MicroServices & MicroFrontends.

Home Page:https://specmatic.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specmatic Documentation

Documentation for Specmatic

Dev Setup

  • Install Ruby > 2.7 - Preferably with rbenv
  • Run bundle to install dependencies
  • Run bundle exec jekyll serve to start server on localhost:4000

Dev Containers (Recommended Approach)

  • Pre-requisites - Docker Desktop
  • Visual Studio Code 3
  • Open Project in VSCode
  • VSCode will ask you install necessary extensions and open in dev container. If not install "Visual Studio Code Remote - Containers" - https://code.visualstudio.com/docs/remote/containers
  • The Terminal inside VSCode is mapped to Docker Container. Run below commands in that terminal.
    • bundle to install dependencies
    • bundle exec jekyll serve to start server
      • Click on the "localhost:4000" link in terminal to launch it in browser at the ephemeral port
      • On my machine it is forwarded to localhost:4001
    • You can even push to GitHub inside this terminal because Dockerfile maps your keys

Reference - How to DevContainers for the first time for Jekyll Projects

  • Cmd + Shift + P and run Remote-Containers: Add Development Container Configuration Files...
  • Search for Jekyll and Choose bullseye
  • This will add the .devcontainers folder with necessary configs, re-open project in container

About

Turn your contracts into executable specifications. Contract Driven Development - Collaboratively Design & Independently Deploy MicroServices & MicroFrontends.

https://specmatic.in


Languages

Language:JavaScript 52.1%Language:HTML 41.7%Language:CSS 6.1%Language:PHP 0.0%Language:Ruby 0.0%Language:Dockerfile 0.0%Language:Shell 0.0%Language:Python 0.0%Language:Hack 0.0%