Yearning only rely on Mysql database
Mysql version must be 5.7 or above. Please install it yourself and create Yearning Library in advance. The character set should be UTF8mb4 (only mysql version required by Yearning)
The annual log only outputs the error level. Without the log, no running error can be considered!
Yearning based on 1080p resolution development only supports 1080p and above display access
please use the latest version of Chrome
download url https://github.com/cookieY/Yearning/releases
Please select the latest version and choose from the Assets Yearning-x.x.x.linux-amd64.zip
cat conf.toml [Mysql] Db = "Yearning" Host = "127.0.0.1" Port = "3306" Password = "xxxx" User = "root" [General] #Database encryption and decryption key, can be changed only once. SecretKey = "dbcjqheupqjsuwsm"
SecretKey is the salt of token / database password encryption / decryption.
It is recommended that all users change the SecretKey before installing year for the first time (if not, there will be a security risk)
Format: both upper and lower case letters, length must be 16 bits
This key can only be changed during the initial installation! It cannot be changed again after that! If it is changed again, the previously stored data source password will not be decrypted, and the related data source information will not be obtained
2.Initialize data structure
Be sure to do -m initialization before -s starts!
To initialize again, please delete all forms from the stock before duplicate execution is invalid
Parameters of the start
./Yearning -s -b "172.27.80.35" -p "8000"
Open browser http://172.27.80.35:8000
Default username & password：admin/Yearning_admin