English | 简体中文
go-forum is a simple forum web application that uses the database/sql
and http
packages in the standard library, with toml
as the configuration file format and MySQL
as the database.
git clone https://github.com/linehk/go-forum.git
Create database:
mysql -uroot -proot < model/setup.sql
Fill in the configuration options in config.toml
.
Then, build it:
go build -o go-forum
And, run it:
./go-forum
Visit http://localhost:8080/
.
If you feel that there is something to improve this project, please feel free to launch Pull Request.
For major changes, please open an issue first to discuss what you would like to change.