$ wget https://github.com/ryo-arima/mark1/releases/download/v0.0.1/mark1-0.0.1-aarch64.aarch64.rpm
$ sudo rpm -ivh mark1-0.0.1-aarch64.aarch64.rpm
$ wget https://github.com/ryo-arima/mark1/releases/download/v0.0.1/mark1-0.0.1-x86_64.x86_64.rpm
$ sudo rpm -ivh mark1-0.0.1-x86_64.x86_64.rpm
$ wget https://github.com/ryo-arima/mark1/releases/download/v0.0.1/mark1_0.0.1_arm64.deb
$ sudo dpkg -i mark1_0.0.1_arm64.deb
$ wget https://github.com/ryo-arima/mark1/releases/download/v0.0.1/mark1_0.0.1_amd64.deb
$ sudo dpkg -i mark1_0.0.1_amd64.deb
MysqlRedis
docker-compose.yml
/etc/mark1/main.yaml
Application:
Common:
MemberRoles:
- group_admin
- group_editor
- group_viewer
Server:
port: 8000
admin:
emails:
- "[email protected]"
jwt:
key: "secret"
mail:
host: "smtp.mail.com"
port: 587
user: ""
tmp:
letters: ""
length: 6
Client:
HomePath: "etc/.mark1"
ServerEndpoint: "http://localhost:8000"
UserEmail: "[email protected]"
UserPassword: "secret"
HomeDir: "etc/.mark1"
MySQL:
host: 127.0.0.1
user: root
pass: mysql
port: 3306
db: mark1
Redis:
host: 127.0.0.1
port: 6379
user: "default"
pass: "mysecretpassword"
db: 0
$HOME/.mark1/role
cat $HOME/.mark1/role ### adminmain.yamlApplication.Server.admin.emailsadmin
admin
$ sudo systemctl start mark1
$ mark1 --help
Usage:
mark1-admin [command]
Available Commands:
bootstrap bootstrap the value of a key
create create the value of a key
delete delete the value of a key
get get the value of a key
help Help about any command
update update the value of a key
Flags:
-h, --help help for mark1-admin
Use "mark1-admin [command] --help" for more information about a command.
This system is designed to easily build and provide a simple authentication foundation.
Download the file from Releases
$ wget https://github.com/ryo-arima/mark1/releases/download/v0.0.1/mark1-0.0.1-aarch64.aarch64.rpm
$ sudo rpm -ivh mark1-0.0.1-aarch64.aarch64.rpm
$ wget https://github.com/ryo-arima/mark1/releases/download/v0.0.1/mark1-0.0.1-x86_64.x86_64.rpm
$ sudo rpm -ivh mark1-0.0.1-x86_64.x86_64.rpm
$ wget https://github.com/ryo-arima/mark1/releases/download/v0.0.1/mark1_0.0.1_arm64.deb
$ sudo dpkg -i mark1_0.0.1_arm64.deb
$ wget https://github.com/ryo-arima/mark1/releases/download/v0.0.1/mark1_0.0.1_amd64.deb
$ sudo dpkg -i mark1_0.0.1_amd64.deb
docker-compose.yml
in this repository.
Application:
Common:
MemberRoles:
- group_admin
- group_editor
- group_viewer
Server:
port: 8000
admin:
emails:
- "[email protected]"
jwt:
key: "secret"
mail:
host: "smtp.mail.com"
port: 587
user: ""
tmp:
letters: ""
length: 6
Client:
HomePath: "etc/.mark1"
ServerEndpoint: "http://localhost:8000"
UserEmail: "[email protected]"
UserPassword: "secret"
HomeDir: "etc/.mark1"
MySQL:
host: 127.0.0.1
user: root
pass: mysql
port: 3306
db: mark1
Redis:
host: 127.0.0.1
port: 6379
user: "default"
pass: "mysecretpassword"
db: 0
$HOME/.mark1/role
cat $HOME/.mark1/role ### If you want to set admin, please add the email address of admin to Application.Server.admin.emails in main.yaml
admin
$ sudo systemctl start mark1
$ mark1 --help
Usage:
mark1-admin [command]
Available Commands:
bootstrap bootstrap the value of a key
create create the value of a key
delete delete the value of a key
get get the value of a key
help Help about any command
update update the value of a key
Flags:
-h, --help help for mark1-admin
Use "mark1-admin [command] --help" for more information about a command.
Free. You are free to contribute as long as you don't troll. Don't worry, we have backups. We need your help.
If you have any questions or problems, please post them in the issue or email.