Let's start in the main directory cd dt-lovech
:
npm init gatsby
npx: installed 1 in 1.25s
create-gatsby version 0.2.1
Welcome to Gatsby!
This command will generate a new Gatsby site for you in
/Users/vladi/Work/dt-lovech with the setup you select. Let's answer some
questions:
What would you like to call your site?
✔ · Dramatic Theater Lovech
What would you like to name the folder where your site will be created?
✔ dt-lovech/ site
✔ Will you be using a CMS?
· No (or I'll add it later)
✔ Would you like to install a styling system?
· No (or I'll add it later)
✔ Would you like to install additional features with other plugins?
· Add responsive images
· Add page meta tags with React Helmet
· Add an automatic sitemap
· Enable offline functionality
· Add Markdown and MDX support
Thanks! Here's what we'll now do:
🛠 Create a new Gatsby site in the folder site
🔌 Install gatsby-plugin-sharp, gatsby-plugin-react-helmet,
gatsby-plugin-sitemap, gatsby-plugin-offline, gatsby-plugin-mdx
✔ Shall we do this? (Y/n) · Yes
To run the site cd site
and then npm run develop
.