Skip to content
jjcmPublic

About

No description, website, or topics provided.

Resources

Stars

113 stars

Watchers

4 watching

Forks

Repository files navigation

Nonio

This is the whole system in one repo — no submodules, no extra remotes. A plain git clone gives you everything needed to build and run.

Layout

Directory What it is Port
soci-frontend Web frontend (vanilla JS webcomponents, node server) 4200
soci-backend Go API (socid), MySQL via goose migrations 4201
soci-avatar-cdn Go CDN for avatars + emojis 4202
soci-image-cdn Go CDN for post images + thumbnails 4203
soci-video-cdn Go CDN for video upload/encode/serve 4204
soci-html-cdn Go CDN for sanitized HTML embeds 4205
nonio-simulator Synthetic user/activity simulator (dev tool) —
nonio-tui Terminal client —

MySQL/MariaDB listens on 3306 (database socidb, user dbuser/password for local dev — see soci-backend/localRun.sh).

Quick start

git clone git@github.com:jjcm/nonio.git
cd nonio
./quickStart.sh

Requirements: go, node/npm, GNU screen, and goose for DB migrations (go install github.com/pressly/goose/cmd/goose@latest).

If nothing is listening on 3306, quickStart.sh starts a mariadb:11 docker container (named soci-db) with the dev credentials above; if you already run MySQL/MariaDB locally it is reused as-is. Each service copies its config.json.example / config.js.example on first launch, so there is nothing to configure for local dev.

The script opens one GNU screen session with a window per service. Switch windows with ctrl+a n (next) / ctrl+a p (previous), detach with ctrl+a d, reattach with screen -r soci.

Once up: http://localhost:4200.

About

No description, website, or topics provided.

Resources

Stars

113 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages