Skip to content

dy93/docker-hackmd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 

Repository files navigation

docker-hackmd

Change

Forked from https://github.com/hackmdio/docker-hackmd and use https://github.com/dy93/hackmd to build docker image. I use sqlite instead of postgres for easier backup.

Prerequisite

  • git
  • docker (docker toolbox recommended)
  • docker-compose (included in the docker toolbox)

See more here: https://www.docker.com/docker-toolbox

Get started

  1. Start you docker via Docker Quickstart Terminal, you will see a machine IP (remember that).
  2. Run git clone https://github.com/dy93/docker-hackmd.git.
  3. Run docker-compose up in your docker terminal.
  4. Wait until see th log HTTP Server listening at port 9999, it will take few minutes based on your internet.
  5. Open any browser and surf <machine IP>:9999

Update

Start your docker and enter the terminal, follow below commands:

cd docker-hackmd ## enter the directory
git pull ## pull new commits
docker-compose pull ## pull new containers
docker-compose up ## turn on

Backup

Just backup the data folder

Restore

Put the data folder back

Happy HackMD 😄

About

docker hackmd image

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%