Coder Social home page Coder Social logo

dgerod / sgb-tw Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 2.86 MB

A tool to write a Software Guidebook using wiki syntax, PlantUML, etc. and TiddlyWiki as GUI

License: BSD 2-Clause "Simplified" License

Python 100.00%
tiddlywiki5 plantuml python tool diagrams-as-code software-design

sgb-tw's Introduction

SGB-TW

What is this?

A tool that helps you to write your Software Guidebook (SGB) using wiki syntax, PlantUML, etc. and TiddlyWiki (TW) as GUI. An example of how to use this tool is here.

What is a Software Guide-Book?

It is a document describes the software architecture and high-level design of a system. In addition to that, the document contains maps, sight and itineraries, history and culture and practical information about the software; it describes what the code does not. And it is an alive and evolve document.

Understanding the SGB-TW tool

Installation

  1. Create a Python virtual environment.

    • Using Conda, for more information see this.
      $ conda create --name sgb python=3.7
    • Using venv, for more information see this.
      $ python3 -m sgb /path/to/new/virtual/environment
  2. Activate the virtual environment

  3. Install Python requirements by calling:

    $ pip install -r requirements.txt
  4. Install Timini to be able to save the TiddlyWiki file from your web-browser.

Steps (1) and (2) are not mandatory but recomended, using virtual environments avoid mixing required packages of this application with your Python environment.

How to use

Activate the virtual environment. For example using conda:

$ conda activate sgb

Open TiddlyWiki HTML page in your web browse.

Start your daily work by opening TiddlyWiki HTML page in your web browse. After that synchronize TiddlyWiki with your tiddlers in the DB by executing:

$ git pull
$ python sgb-cli.py load_tiddlers

The sadac-cli command loads tiddlers from DB and add to TiddlyWiki file. Once this is done you have to reload the TiddlyWiki page in your web browser..

Once you whant to want to store the tiddlers in the DB, for doing that you have to execute:

$ python sgb-cli.py save_tiddlers
$ git push

In case that there is a conflict in git, you should load the tiddlers to the TiddlyWiki HTML file after solving it.

sgb-tw's People

Contributors

dgerod avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

sgb-tw's Issues

Custom style in note type tiddlers

Using styles it is possible to add an empty line between paragraph, and this makes a tiddler easy to read when there is a lot of information.

Tiddlers in DB stored in directories

  • Store tiddlers directories in DB, one directory per letter so tiddlers starting by "a" will be stored in "a" directory. In this way we don't have a lot of tiddlers in the same directory
  • Change extension of tiddlers from .cotent to .tid, so we use the "standard" name.

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.