/murky

Murky is a simple Markdown wiki written in Elixir.

Primary LanguageElixirMIT LicenseMIT

murky

Murky is a file based Markdown wiki written in Elixir.

It use the Phoenix Live View for live preview of the rendered markdown. The Monaco Editor is integrated for better writing experience.

Usage

To start your Phoenix server:

  • Setup the project with mix setup
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:5000 from your browser.

Ready to run in production? Please check our deployment guides.

Docker

To create and start the docker image run:

docker-compose -f "docker-compose.yml" up -d --build

After the image is build and up you can reach the application with http://localhost:4000

Run tests

To run the tests you need to set the environment variable STORAGE_PATH to a directory. The directory does not need to exist and will be deleted by the test.

On Windows:

$env:STORAGE_PATH="xxx"

Then you can run the tests with mix test

If you use VSCode then there is already a test task called run tests

License

This software is licensed under the MIT license.