-
run docker
cd docker docker compose up
-
make a config file
cp config.toml.example config.toml
-
database init
CREATE TABLE `user_auths` ( `id` int NOT NULL AUTO_INCREMENT, `user_id` int NOT NULL DEFAULT '0', `auth_type` tinyint NOT NULL, `identifier` varchar(255) NOT NULL, `credential` varchar(255) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `login` (`auth_type`,`identifier`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 CREATE TABLE `users` ( `id` int NOT NULL AUTO_INCREMENT, `name` varchar(64) NOT NULL, `email` varchar(255) DEFAULT NULL, `role_id` int DEFAULT '0', `gender` tinyint DEFAULT '0', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `email` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
-
Run
go run main.go
-
Notifications
You must be signed in to change notification settings - Fork 0
lxx0103/wms-zoho
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published