Giter Site home page Giter Site logo

uapsh / arc42-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arner/arc42-template

0.0 0.0 0.0 1.25 MB

A template for documenting IT architecture in git, using arc42, docsify and plantuml

Home Page: https://arner.github.io/arc42-template/

Shell 100.00%

arc42-template's Introduction

Architecture document template

A template for documenting IT architecture.

Goal

Architecture documents should be easily:

  • accessible
  • searchable
  • reusable
  • versionable.

With git, you automatically get a detailed history and change log of any document. It aligns well with the way of working of the development team, and more and more that of operations (see GitOps, Infrastructure as Code, Configuration as Code). Maintaining everything in adjacent git repos ensures better versioning and visibility.

Prerequisites

Recommended: VSCode with PlantUML extension.

Included tooling

Getting started

  • Fork or clone this repository.
  • Change the name and description of your project in the docs/package.json.
  • Add the name of your project and the git repository in docs/index.html.
  • Optionally change the ADR template in lib/adr_template.md.
  • Do npm install from the docs directory.
  • Run npm run serve to view the docsify website.

How to use

To show the webpages in your browser, do npm run serve.

Text

Just edit the contents of the files in the docs directory. Docsify does not need to rebuild anything to pick up the changes.

To lint, do npm run lint or, to check language, npm run lint-language

Architecture decision

Add an ADR with npm run adr "Name of decision". Edit the file in the docs/adr directory.

Run npm run toc to update the Table of Contents.

Diagrams

Source and image outputs of diagrams are in docs/diagrams. Plantuml is ideal for simple visualizations like sequence, class or deployment diagrams. A theme is included in the lib directory.

plantuml

For system context diagrams and high level component models, C4 is a clean and lightweight way of communicating on the right level of depth. This repo includes an extension for plantuml.

After creating or updating diagram sources, run npm run diagrams to generate the png files.

Export

To generate a PDF, do npm run pdf. It will be created in the output directory. See settings in .docsifytopdfrc.js.

Credits

© We acknowledge that this document uses material from the arc 42 architecture template, http://www.arc42.de. Created by Dr. Peter Hruschka & Dr. Gernot Starke.

arc42-template's People

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.