A set of utils to help you with managing your server
- Display CPU/RAM usage
- Manage your nginx/pingora configuration
- Manage your websites
- Manage your docker containers
## Pull docker image sudo docker pull nimbusasm/server-entry:latest ## Run docker container sudo docker run -d --name server-entry \ -p 5111:5111 \ nimbusasm/server-entry:latest
// ToDo
-
dotnet sdk 8.0
-
flutter sdk
-
cheese (recommend to use latest)
# If you have no cheese tool, you can install it by: dotnet tool install cheese --global # To upgrade cheese dotnet tool update cheese --global
git clone [email protected]:NimbusAsm/ServerEntry.git cd ServerEntry # Use cheese to initialize reference cheese ref --init
cd ServerEntry.ApiServer
dotnet watchVisit localhost:5111/Api to view api docs
In fact,
/Apiroute will redirect to/swagger/index.html
cd ServerEntry.Dashboard/server_entry_dashboard flutter run # If you need to run with headless browser, append '-d web-server'
Visit the url printed to console by flutter sdk to open frontend website
# This script build both backend and frontend and make a docker image pwsh -c ./build.ps1 -Tag <tag> # example: <tag> -> 0.0.2.1
In the docker image, root folder is
/app/server-entry, front-end site will located in$root/wwwroot, api server will listen/route and return files inwwwroot, the api server will located in root folder
