This site supports JAMstack Cincinnati's May 2019 meetup on Getting Started with Netlify. This meetup represents the first in a multi-step series on getting comfortable working with the JAMstack.
Before we dig in, make sure you have the prerequisites covered:
- A basic understanding of Git.
- A GitHub account.
- Basic knowledge of HTML and CSS.
- Yarn is not 100% necessary, but can make working with the project in development (on your machine) a little easier.
First, fork the repository on GitHub into your own user's space.
Then clone the repository to your local filesystem (make sure to replace [YOUR_USERNAME]
):
$ git clone git@github.com:[YOUR_USERNAME]/1905-getting-started-with-netlify.git
If you are going to use Yarn to run the local server, you can first install the dependencies:
$ yarn install
This project uses http-server to run your www
directory as a web server. You don't have to do this, though. The project is also configured so that you can open the HTML files directly in the browser.
If you want to run the server, make sure the JS packages are installed first (yarn install
) and then you can start up the dev server:
$ yarn run dev
After doing this, you should be able to navigate to http://localhost:8000
in your browser and see the home page of the project.
These are the steps we're going to follow in the workshop:
- Setup your GitHub account and make sure Git is running on your machine.
- Fork this repository, clone and run it locally.
- Create (or sign into) your Netlify account.
- Create a new project from your GitHub fork.
- [Discussion] The basics of Continuous Deployment (CD).
- Make a change.
- Commit, push, deploy.
- Add a
contact.html
page to your project with a Netlify form. - Commit, push, deploy.
- Add a reCAPTCHA field.
- Commit, push, deploy.
- Add file and entry for redirect of
/contact-us
to/contact
- Commit, push, deploy.
- Deploy Previews
- Branch Deploys
- Commit Deploys