Bebop is a simple discussion board / forum web application.
Create a new empty database (MySQL оr PostgreSQL) that will be used as a data store and a database user with all privileges granted on this database.
Obtain OAuth 2.0 credentials (client_id and secret) from at least one of the providers (Google, Facebook, Github) so users can log into the web application. The OAuth callback url will be<base_url>/oauth/end/<provider>
. The<base_url>
is where the bebop web app will be mounted on your site and the<provider>
is the lowercase provider name. For example, if base_url ishttps://my.website.com/forum/
, then the oauth callback url for google will behttps://my.website.com/forum/oauth/end/google
.
Download and compile the bebop binary:
$ go get -u github.com/disintegration/bebop/cmd/bebop
Inside an empty directory run:
This will generate an initial configuration file "bebop.conf" inside the current dir.Edit the configuration file to set the server listen address, the base url, the database and file storage parameters, OAuth credentials, etc.
Run the following command to start the bebop web server.
Sign in into your web application using one of the social login providers.Then run the following command to grant admin privileges to your user.
$ bebop add-admin <your-username>