Shell beginner, read the contents of the environment-variable-mac.ini file, generate a js file

contents of environment-variable-mac.ini file

UNIVER_USER_LOGIN="http://127.0.0.1/api/login"
UNIVER_SEARCH_ORDINARY="http://127.0.0.1/api/search/common"
UNIVER_SEARCH_LABEL="http://127.0.0.1/api/search/common"
UNIVER_SEARCH_VIDEO="http://127.0.0.1/api/search/common"
UNIVER_TASK_MANAGER="http://127.0.0.1/api/task/manager"
UNIVER_PROJECR_URL="67.110.220.11"
UNIVER_PROJECR_PORT=777778888

generate a js file

my shell code

echo "/**
 * environment
 * 
 * 
 */

var ENV = (function(){

    return {
        pythonAPI: {

            //userLogin : "http://10.23.102.148:5002/api/login", //  api
            userLogin : "$UNIVER_USER_LOGIN",
            video: "", //
            searchOrdinary: "$searchOrdinary", // 
            //searchLabel: "/api/search/result", // 
            searchLabel: "$searchLabel",
            searchVideo : "$UNIVER_SEARCH_VIDEO", // 
            taskManager: "$taskManager", // 
            searchUpload: "$searchUpload", // 
            imageUrlPrefix: "$imageUrlPrefix", // url
            videoUrlPrefix: "$videoUrlPrefix" // url
        }
        
    }
})();" >> ./service/config/setting.js
Apr.05,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34dcd-2bf3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34dcd-2bf3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?