Netlify
Edit this pageNetlify is a widely-used hosting platform suitable for various types of projects. For detailed guidance on build procedures, deployment options, and the range of features available, you can visit the Netlify documentation.
Using the Netlify web interface
- Begin by navigating to Netlify's website and logging in or creating a new Netlify.
Once logged in, you will be take to your dashboard. Click the
New site from Git
button to start a new project.
- On the following page, choose "Connect to GitHub" or your preferred Git repository hosting service.
- After selecting your Solid project repository, you'll be directed to a configuration screen.
Update the "Publish directory" field from
netlify
todist
. Then, click "Deploy" to start the deployment process.
- Once the build and deployment are complete, you will be taken to a screen that displays the URL of your live site.
Using the Netlify CLI
- Install the Netlify CLI using your preferred package manager:
Note: Before proceeding, ensure that your Netlify account and team are fully set up. This is crucial for a seamless project setup and deployment.
-
Open your terminal, navigate to your project directory, and run the
netlify init
command. Authenticate using one of the supported login options. -
Follow the on-screen instructions from the CLI. When prompted for the 'Directory to deploy,' specify
dist
— this is where Solid stores the built project files.
After completing the process, your project will be deployed on Netlify and can be accessed via the provided URL.