commune

command module
v0.0.0-...-31b0ff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

README

commune - ActivityPub backend server of Commune Project.

Commune is an ActivityPub-enabled forum software in its very very very early stage of development.

DO NOT use it in a production environment, NO function is done.

CircleCI

Dependencies

  • Go (tested with go1.15.6 linux/amd64)
  • PostgreSQL (tested with 11.10-1.pgdg100+1)

Development

You must prepare a PostgreSQL database for it.

Copy .env.sample to .env, and configure DATABASE_URL, COMMUNE_LOCAL_DOMAINS and so on.

bash main.sh migrate up
bash main.sh

And you can access the unfinished page on http://localhost:8000. You may need to set a proper reverse proxy before it…

Run Unit Tests

#TODO

bash test_all.sh

License

Copyright (C) 2021 Misaka 0x4e21

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL