Build & Deploy
Turn your project into a clean, deployable build without hand-copying files.
- Open Build & Deploy in the sidebar.
- Choose an output folder.
- Optionally enable Export database to include a
.sqldump (needs a database connection). - Click Build.
CfxKit includes every enabled resource, your server.cfg, and the optional database dump, and leaves out dev files: .git, .cfxkit, node_modules, source maps, and TypeScript sources.
Deploy to a VPS
Section titled “Deploy to a VPS”- Upload the output folder to your VPS.
- Install FXServer there if it is not already present.
- Start the server with your
server.cfg.
Import the SQL dump on your production database with:
mysql -u username -p database_name < database_dump.sql