Sign inSign up

tweedevs/tweego-docker

By tweedevs

•Updated almost 6 years ago

A docker implementation for Tweego, the command line compiler for Twine/Twee story formats.

Image
0

1.2K

tweedevs/tweego-docker repository overview

⁠tweego-docker

A docker implementation for Tweego⁠, the command line compiler for Twine/Twee story formats, written in Go.

⁠Getting Started

These instructions will cover usage information and for the docker container

⁠Prerequisities

In order to run this container you'll need docker installed.

⁠Usage
⁠Docker Compose

Use docker compose if you can, there are some known issues with commandline run not attaching the volumes properly.

version: "3.9"
services:
  tweego:
    image: tweedevs/tweego-docker
    environment: 
      - TWEEGO_OUTFILE=name_of_the_output.html
      #- TWEEGO_WATCH=will_trigger_if_set_to_anything
    volumes: 
      - {path_to_your_storyformats}:/storyformats
      - {path_to_your_project_src}:/input
      - {path_to_where_you_want_the_file}:/output
⁠Container Parameters

List the different parameters available to your container

docker run tweedevs/tweego-docker:v1.0.0 parameters

One example per permutation

docker run tweedevs/tweego-docker:v1.0.0 \
    -e TWEEGO_OUTFILE=your_file_name.html \
    -v <your_path_to_story_formats>:/storyformats \
    -v <your_path_to_the_twee_files>:/input \
    -v <your_path_to_the_where_you_want_the_result>:/output

Show how to get a shell started in your container too

docker run tweedevs/tweego-docker:v1.0.0 sh
⁠Environment Variables
  • TWEEGO_OUTFILE - The you want applied to tweegos output file. Default is index.html
  • TWEEGO_WATCH - A way to turn on tweego watch functionality. Default is not set, when set to anything it will trigger.
⁠Volumes
⁠Useful File Locations
  • /root/tweego - tweego executable location.

⁠Built With

TODO: Honestly don't know what needs to go here.

⁠Find Us

⁠Contributing

Please read CONTRIBUTING.md⁠ for details on our code of conduct, and the process for submitting pull requests to us.

⁠Versioning

We use SemVer⁠ for versioning. For the versions available, see the tags on this repository⁠.

⁠Authors

See also the list of contributors⁠ who participated in this project.

⁠License

This project is licensed under the Unlicense - see the LICENSE.md⁠ file for details.

⁠Acknowledgments

  • Thomas M. Edwards⁠ - Creater of Tweego and the story format Sugarcube.
  • Chapel⁠ - Twine ethusiast with a knack for creating useful things for authors.

Tag summary

Content type

Image

Digest

Size

4.8 MB

Last updated

almost 6 years ago

docker pull tweedevs/tweego-docker