项目作者: cutechan

项目描述 :
:mouse: K-pop oriented imageboard
高级语言: Go
项目地址: git://github.com/cutechan/cutechan.git
创建时间: 2017-06-24T22:52:27Z
项目社区:https://github.com/cutechan/cutechan

开源协议:Other

下载


cutechan Build Status

K-pop oriented imageboard started as meguca fork.

Prepare

  1. docker build -f Dockerfile-dev -t amd64/cutechan-dev .
  2. docker run -it --rm --name cutechan-dev -p 127.0.0.1:8001:8001 \
  3. -v ./pgdata:/var/lib/postgresql -v $PWD:/cutechan amd64/cutechan-dev

DB

  1. # Recreate cluster on first run
  2. pg_dropcluster --stop 15 main
  3. pg_createcluster --start 15 main
  4. # Run DB server after container start
  5. /etc/init.d/postgresql start

Build

  • make to build everything (make client and make server to build separately)
  • make client-watch to rebuild client on changes

Setup

  • make server-config to init config
  • make server-db to init database
  • make serve and open http://localhost:8001 in a browser
  • Login into the admin account with the password password
  • Change the default password
  • Create a board from the administration panel
  • Configure server from the administration panel

License

AGPLv3+.