Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

CKAY-9/k9-forums

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K9 Forums

AGPL License Language

About

K9 Forums is a free and open-source forum software built with NestJS and NextJS, using TypeScript. K9 Forums is meant to be a simple solution to forums while offering ease-of-use and configurability.

Credits

  • Thank you to uiwjs for react-markdown preview and editor

Installation

This project is WIP and not finished. Run at your own risk.

Docker support is being worked on

# Clone the project
git clone https://github.com/CKAY-9/k9-forums.git

### Backend setup ###
cd backend
npm install

# env setup
export DATABASE_URL=postgres://my_postgres_login

# running
npm run build
npm run start



### Frontend setup ###
cd frontend
npm install

# env setup
export NEXT_PUBLIC_API_URL=http://localhost:3001
export NEXT_PUBLIC_CDN_URL=http://localhost:5000

# running
npm run build
npm run start



### CDN setup ###
cd cdn

# python setup
py -3 -m venv .venv
.venv\Scripts\activate
pip install flask
pip install markupsafe
pip install werkzeug
pip install -U flask-cors

# running
flask --app main run

### WebSocket Server ###
cd ws-server
npm install

# env setup
export INTERNAL_API_URL=http://localhost:3001
export INTERNAL_CDN_URL=http://localhost:5000

# running
npm run build
npm run start