Note: The version in the master branch is currently in early development. For deploying a production-ready legacy meguca instance, download the latests release and consult the bundled README.
Platforms: Linux, OSX, Win64
Runtime dependencies
- RethinkDB
- RethinkDB does not enable a configuration file by default. If you don't
want to configure anything, just copy
/etc/rethinkdb/default.conf.sampleinto/etc/rethinkdb/instances.d/instance1.conf. You might also set it to autostart on boot. See the official guide.
- RethinkDB does not enable a configuration file by default. If you don't
want to configure anything, just copy
Installable binaries
Coming soon™
Building from source
- Windows only: Install MSYS2 and
clone/move meguca somewhere within it's root directory (
C:\msys64by default) - Install:
- Run
make - Prepare server for operation by running
make init
Production
- Edit
./config/config.jsonto configure your instance - See
./meguca help- Windows does not support daemonisation. The
stop|restartarguments are not available andstartis an alias fordebug
- Windows does not support daemonisation. The
- For upgarding between semver major releases see
docs/migration.md
Development
./meguca debugto run the server in development modemake serverandmake clientbuild the server and client separatelymake watchwatches the file system for changes and incrementally rebuilds the clientmake cleanremoves files from the previous compilationmake dist_cleanin addition to the above, removes configuration, images and stored assets
// TODO: Rewrite everything below for v2
Documentation
- docs/api.md - JSON API spec
- docs/dev_guide.md - Brief description on project operation for developers
- docs/migration_*.js - Major semvser migration instructions
- docs/doushio.initscript.example - Init script example
- docs/nginx.config.example - ngingx configuration example
Standalone upkeep scripts
- scripts/backup.js - uploads rdb to S3
- scripts/backup.sh - MEGA backup script
- scripts/purge_bans.sh - Removes all bans
- scripts/purge_mod_sessions.sh - Closes all active moderator sessions
- scripts/radio.js - icecast2 server integration
- scripts/send.js - global websocket push messages