nim-lang / nimforum
- понедельник, 28 мая 2018 г. в 00:16:23
Nim
Lightweight alternative to Discourse written in Nim
NimForum is a light-weight forum implementation with many similarities to Discourse. It is implemented in the Nim programming language and uses SQLite for its database.
The following lists the dependencies which you may need to install manually in order to get NimForum running, compiled*, or tested†.
[*] Build time dependencies
[†] Test time dependencies
Check out the tasks defined by this project's nimforum.nimble
file by
running nimble tasks
, as of writing they are:
backend Compiles and runs the forum backend
runbackend Runs the forum backend
frontend Builds the necessary JS frontend (with CSS)
minify Minifies the JS using Google's closure compiler
testdb Creates a test DB (with admin account!)
devdb Creates a test DB (with admin account!)
blankdb Creates a blank DB
test Runs tester
fasttest Runs tester without recompiling backend
Development typically involves running nimble backend
which compiles
and runs the forum's backend, and nimble frontend
separately to build
the frontend. When making changes to the frontend it should be enough to
simply run nimble frontend
again to rebuild. This command will also
build the SASS nimforum.scss
file in the public/css
directory.
Copyright (c) 2012-2018 Andreas Rumpf, Dominik Picheta.
All rights reserved.
NimForum is licensed under the MIT license.