Deploy To Netlify
Esta página aún no está disponible en tu idioma.
-
Deploy to Netlify with the following:
Terminal window npm run build && netlify build && netlify deploy --prodIf you do not have an existing Netlify project, this command will help you set up one.
-
Next, set all the environment variables in your Netlify’s project
Settings
>Environment Variables
from your local.env
file. -
Finally, deploy to Netlify (again) with the following:
Terminal window npm run build && netlify build && netlify deploy --prod -
Now that’s set up, you can deploy in future iterations only by executing the command once.