1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 11:46:22 -07:00
No description
Find a file
Joshua Merrell 01877937eb Instead of failing if config.SiteWebfolder isn't set, use default "/"
Also append and/or prepend "/" as necessary to prevent possible issues
Also also fixed issues with broken links caused by the previous commit
2018-09-27 13:44:30 -07:00
html Update roadmap with configuration, update version in static error pages 2018-08-09 00:08:29 -07:00
src Instead of failing if config.SiteWebfolder isn't set, use default "/" 2018-09-27 13:44:30 -07:00
templates Instead of failing if config.SiteWebfolder isn't set, use default "/" 2018-09-27 13:44:30 -07:00
vagrant Have config.verbosity be determined by gochan.json, not by Makefile 2018-06-20 17:27:23 -07:00
.gitignore Don't track .bak (temporary backup) files 2018-07-15 07:35:34 -07:00
dist.sh Fix typo in gochan.example.json (version should be Version) 2018-06-20 17:46:00 -07:00
gochan-fastcgi.nginx Fix issue with nginx starting before the vagrant shared directory is mounted 2018-02-02 13:01:34 -08:00
gochan-http.nginx Fix issue with nginx starting before the vagrant shared directory is mounted 2018-02-02 13:01:34 -08:00
gochan.example.json Remove forced config.DBprefix if none is set and adding "_" 2018-08-23 17:37:00 -07:00
gochan.service Add systemd service, subject field autocomplete prevention 2018-05-29 11:38:33 -07:00
initialsetupdb.sql Fix duplicating admin account 2018-06-12 13:35:36 -07:00
LICENSE Add post editing, fix log not showing IP/path 2018-06-09 23:40:20 -07:00
Makefile Fix thumbnail expansion 2018-07-08 21:30:14 -07:00
README.md Have config.verbosity be determined by gochan.json, not by Makefile 2018-06-20 17:27:23 -07:00
ROADMAP.md Update roadmap with configuration, update version in static error pages 2018-08-09 00:08:29 -07:00
version (Mostly) finish the configuration web interface, remove all _img fields since text boards won't happen 2018-08-09 00:04:45 -07:00

Gochan

A semi-standalone imageboard server written in Go

http://gochan.org

Installation

Basic installation (from a release)

  1. Extract the .tar.gz or the .zip file into a directory (for example, your home directory)
  2. Copy gochan.example.json to gochan.json and modify it to your liking.
    1. If you want to see debugging info/noncritical warnings, set verbosity to 1. If you want to see benchmarks as well, set it to 2.
    2. Make sure to set DBname, DBusername, and DBpassword, since these are required to connect to your MySQL database. Set DomainRegex,SiteDomain, since these are necessary in order to post and log in as a staff member without being rejected.
  3. If you're using nginx, copy gochan-fastcgi.nginx, or gochan-http.nginx if UseFastCGI is set to true to /etc/nginx/sites-enabled/, or the appropriate folder in Windows.
  4. If you're in Linux, you can optionally copy gochan.service to ~/.config/systemd/user/gochan.service and run systemctl enable gochan.service to have it run on login and systemctl start gochan.service to start it as a background service.
    1. If you aren't using a distro with systemd, you can start a screen session and run ./gochan
  5. Go to http://[gochan url]/manage?action=boards, log in (default username/password is admin/password), create a board, and go to http://[gochan url]/manage?action=rebuildall
    1. For security reasons, you should probably go to http://[gochan url]/manage?action=staff to create a new admin user account and delete admin.

For developers (using Vagrant)

  1. Install Vagrant and Virtualbox. Vagrant lets you create a virtual machine and run a custom setup/installation script to make installation easier and faster.
  2. From the command line, cd into vagrant/ and run vagrant up
  3. After it finishes installing the Ubuntu VM, follow the printed instructions.