Learn how to build and deploy your own version of Chartbrew
npm install
ran in the server folder or npm run setup
in the project root folder.env-template
in the root folder to see which)npm run start
, or use an external tool like pm2
to monitor and manage Node apps better.
port
specified in server/settings.js
.
pm2
configuration file:
-l
is the same as the VITE_APP_CLIENT_PORT
in your .env
file.
Now you can start the front-end app with pm2 start app.config.json
Using the methods above, the app can be accessed on localhost. To serve it on a domain, check the deployment guides for different platforms in the sidebar.