- The server is implemented using nodejs
- The front end uses vue3 + typescript + pinia + material design3
- The server uses binary files to run and is easy to install.
- Supports one-click installation of backend services
- Support setting up reverse proxy service
- More new features
This tutorial is based on 1panel. The server requires authorization for use. If you need to test, please apply for a test authorization code from this BOT: https://t.me/bunpanel_bot
- Go to the 1panel store and install OpenResty and PostgreSQL.
- Prepare three domain names, which can be three subdomains, corresponding to the user frontend, admin frontend, and server.
- Create a website, select a static website, and enter the prepared user frontend domain.
- enable website config gzip, edit config: gzip_static on;
- Go to the website root directory, then enter the index directory and delete index.html.
- Upload the frontend source code to this directory and unzip it.
- Open config.json, modify apiUrl: http://server domain (authorization domain).
- Now you should be able to access the frontend page.
Same as the above steps, but the domain is the prepared admin frontend domain.
- Create a website, select revers proxy, and enter the server domain
- go to the website root dirctory,then into index directory and upload server souce code
cp .env.example .env && vim .env
- enter your database info, license
- go to Host->Supervisor, and create daemon process
- enter config for daemon process
- name: any string
- directory: your server source code directory
- command: /your directory/bunserver name
- await start , then go to daemon process log. finding admin account info in log
bash <(curl -Ls https://raw.githubusercontent.com/pennyMorant/bunpanel-release/dev/server/install.sh)