How To Setup CodiMD

From Linux Delta
Jump to: navigation, search

How to Setup CodiMD on Linux

Author: Kernellinux

System Requirements

1. A Machine with Centos 7 or later


Step 1. Add the necessary repositories

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo


Step 2. Install requisite software

 yum install -y yum-utils device-mapper-persistent-data lvm2 screen epel-release git


Step 3. Install docker-ce and python-pip

yum install docker-ce python-pip


Step 4. Start and enable the docker container

systemctl start docker
systemctl enable docker
pip install docker-compose


Step 5. Create a directory for CodiMD

mkdir /var/hackmd


Step 6. Go into the newly created directory

cd /var/hackmd


Step 7. Clone the CodiMD docker repository

git clone https://github.com/hackmdio/docker-hackmd.git


Step 8. Go into the docker directory

cd docker-hackmd


Step 9. Start CodiMD

docker-compose up


At this point you should be able to browse to the IP address or FQDN of the CodiMD server and login through the WebUI.

There is no default username and password. To sign in click on "Sign in" in the upper right, enter your email and choose a password, then click on Register instead of sign in.