Skip to content

Can we deploy page on our own server? #2432

Discussion options

You must be logged in to vote

@chendwww We will add documentation on how to deploy on any server that has Node.js installed.
In short the process will be as follows:

Make sure to add the following scripts to your package.json

"scripts": {
  "dev": "toolpad dev"
  "build": "toolpad build"
  "start": "toolpad start"
}
  • clone your project on your server
  • run npm install
  • run npm run build
  • run npm run start

If you want to listen on a specific port you can change the start script to:

  "start": "toolpad start -p 1234"

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@chendwww
Comment options

@Janpot
Comment options

Answer selected by prakhargupta1
Comment options

You must be logged in to vote
4 replies
@oliviertassinari
Comment options

@bharatkashyap
Comment options

@prakhargupta1
Comment options

@bharatkashyap
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants