CodiMD, the free software version of HackMD, with edits for Bytecode Digital Agency.
- Download a release and unzip or clone into a directory
- Enter the directory and type
bin/setup
, which will install npm dependencies and create configs. The setup script is written in Bash, you would need bash as a prerequisite. - Setup the configs, see more below
- Setup environment variables which will overwrite the configs
- Build front-end bundle by
npm run build
(usenpm run dev
if you are in development) - Modify the file named
.sequelizerc
, change the value of the variableurl
with your db connection string For example:postgres://username:password@localhost:5432/codimd
- Run
node_modules/.bin/sequelize db:migrate
, this step will migrate your db to the latest schema - Run the server with PM2 (
NODE_ENV=production CMD_PROTOCOL_USESSL=true pm2 start app.js --name codimd-bytecode
) - For deploying a new version if you are using PM2, you can run
./deploy
If you want to spin up an instance and start using immediately, see Docker deployment. If you want to contribute to the project, start with manual deployment.
CodiMD is highly customizable, learn about all configuration options of networking, security, performance, resources, privilege, privacy, image storage, and authentication in CodiMD Configuration.
Upgrade CodiMD from previous version? See this guide Migrating from Etherpad? Follow this guide
You would find all documentation here: CodiMD Documentation
CodiMD lets you collaborate in real-time with markdown. Built on HackMD source code, CodiMD lets you host and control your team's content with speed and ease.
CodiMD is a service that runs on Node.js, while users use the service through browsers. We support your users using the following browsers:
-
- Chrome >= 47
- Chrome for Android >= 47
-
- Safari >= 9
- iOS Safari >= 8.4
-
- Firefox >= 44
-
- IE >= 9
- Edge >= 12
-
- Opera >= 34
- Opera Mini not supported
- Android Browser >= 4.4
To stay up to date with your installation it's recommended to subscribe the release feed.
License under AGPL.