Deploy To Netlify
Esta página aún no está disponible en tu idioma.
LaunchFast Starter Kits can be deployed to Netlify with 0-config setup. Following are the steps to ensure a hassle-free experience of deployment of LaunchFast to Netlify.
Terminal to Netlify Deployments
.env
to contain DEPLOYMENT_PLATFORM
as netlify
.npm run build
and make sure to check if the terminal outputs @netlify
being used as the Astro adapter used to build..functions-internal
directory.netlify deploy --prod
..env
file in the Environment Variables
section.netlify deploy --prod
and you are good to go.GitHub for Netlify Deployments
app.netlify.com
, and then click on create a new site
.Deploy from GitHub
, and then select your repository.build
command to be npm run build
.functions
directory to be .netlify/functions-internal
.publish
directory to be dist
..env
file by clicking the button Add environment variable
below the publish
directory field. Make sure to have an Envrionment Variable named DEPLOYMENT_PLATFORM
set to netlify
, and in general use ...
as the value for the environment variables that are not being used but set them anyways to not encounter build time errors (ofcourse, that won’t run in production and this is just to test the system out). Rest, below are some of the values that can be used for just deploying and then iterating.