Skip to content

Build & Deploy

Turn your project into a clean, deployable build without hand-copying files.

  1. Open Build & Deploy in the sidebar.
  2. Choose an output folder.
  3. Optionally enable Export database to include a .sql dump (needs a database connection).
  4. 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.

  1. Upload the output folder to your VPS.
  2. Install FXServer there if it is not already present.
  3. Start the server with your server.cfg.

Import the SQL dump on your production database with:

Terminal window
mysql -u username -p database_name < database_dump.sql