Skip to content

blackwind-code/blackwind-portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blackwind-portal

Blackwind Service Portal for account registration & VPN device management
DGIST students can make blackwind service account, and connect their devices to our VPN system through this portal

Reference

Pocket Base Doc

Install & Setup

Build

git clone https://github.com/blackwind-code/blackwind-portal.git
cd blackwind-portal/cmd/blackwind-portal
go build main.go

Run

export SECRET=<secret-password>

export VPN_DRIVER_URL=<blackwind-portal-driver-ip:port>
export OPENSTACK_DRIVER_URL=<blackwind-portal-driver-ip:port>

export CLOUDFLARE_X_AUTH_EMAIL=<cloudflare-email>
export CLOUDFLARE_GLOBAL_KEY=<cloudflare-global-api-key>
export DOMAIN_ZONE_IDENTIFIER=<cloudflare-dgist.cloud-zxone-id>

cd blackwind-portal/cmd/blackwind-portal/
./main serve

Set Database Schema

Register admin account on first startup (http://127.0.0.1:8090/_/)
Admin page: Settings(on the left menu bar) -> Import collections -> Load from JSON file -> import "config/pb_schema.json"

About

Blackwind Service Portal for account registration & VPN device management

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages