tomasantunes / markdown-wiki2

A repository of knowledge and information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

markdown-wiki2

NodeJS web application to create a wiki

MarkdownWiki2 Screenshot 1
MarkdownWiki2 Screenshot 1
MarkdownWiki2 Screenshot 2
MarkdownWiki2 Screenshot 3

How to build

npm install
cd markdown-wiki2-frontend
npm install --legacy-peer-deps
npm run build
pip install bookmarks_parser

How to run

Create a secret-config.json file by copying and renaming the secret-config-base.json
Create a config.json file by copying and renaming the file markdown-wiki2-frontend/src/config-base.json
Create a sessions.json file by copying and renaming the file sessions-base.json
npm start
Go to localhost:4001

How to create database

Go to PHPMyAdmin and run the SQL file at database/markdownwiki2.sql

How to run using Docker

Install Docker
Install Python 3
Run the following python script: install/config.py
docker build -f docker/Dockerfile.database -t markdownwiki2/database .
docker run -d -p 3307:3306 markdownwiki2/database
docker build -f docker/Dockerfile.application -t markdownwiki2/application .
docker run -d -p 4001:80 markdownwiki2/application
Go to localhost:4001

About

A repository of knowledge and information

License:MIT License


Languages

Language:JavaScript 94.5%Language:CSS 2.5%Language:Python 1.6%Language:HTML 1.3%Language:EJS 0.1%