Deployed site: https://forum.casbin.com/
Casnode contains 2 parts:
Name | Description | Language | Source code |
---|---|---|---|
Frontend | Web frontend UI for Casnode | Javascript + React | https://github.com/casbin/casnode/tree/master/web |
Backend | RESTful API backend for Casnode | Golang + Beego + MySQL | https://github.com/casbin/casnode |
Casnode uses Casdoor to manage members. So you need to create an organization and an application for Casnode in a Casdoor instance.
go get github.com/casbin/casnode
go get github.com/casdoor/casdoor
or
git clone https://github.com/casbin/casnode
git clone https://github.com/casdoor/casdoor
Casnode will store its users, nodes and topics informations in a MySQL database named: casnode
, will create it if not existed. The DB connection string can be specified at: https://github.com/casbin/casnode/blob/master/conf/app.conf
dataSourceName = root:123@tcp(localhost:3306)/
Casnode uses XORM to connect to DB, so all DBs supported by XORM can also be used.
-
Configure and run casnode by yourself. If you want to learn more about casnode, you see casnode installation.
-
Install casnode using docker. you see installation by docker.
-
Install casnode using BTpanel. you see installation by BTpanel.
-
Open browser:
Casnode uses Casdoor to manage members. If you want to log in with oauth, you should see casdoor oauth configuration.
Casnode uses Casdoor to upload files to cloud storage, send Emails and send SMSs. See Casdoor for more details.
We added a Github icon in the upper right corner, linking to your Github repository address.
You could set ShowGithubCorner
to hidden it.
Configuration:
export const ShowGithubCorner = true
export const GithubRepo = "https://github.com/casbin/casnode" //your github repository