mcsamuelshoko / readme

my portfolio 🌱 , cheers πŸ₯‚ to a bright future πŸ˜„
https://stroustrups-sentinel.github.io/readme/
MIT License
0 stars 0 forks source link
gatsby portfolio-website react typescript

Deploy Gatsby site to Pages  Static Badge 

Gatsby


Gatsby Minimal TypeScript Starter

Gatsby

Gatsby Minimal TypeScript Starter

## πŸš€ Quick start 1. **Create a Gatsby site.** Use the Gatsby CLI to create a new site, specifying the minimal TypeScript starter. ```shell # create a new Gatsby site using the minimal TypeScript starter npm init gatsby -- -ts ``` 2. **Start developing.** Navigate into your new site’s directory and start it up. ```shell cd my-gatsby-site/ npm run develop ``` 3. **Open the code and start customizing!** Your site is now running at http://localhost:8000! Edit `src/pages/index.tsx` to see your site update in real-time! 4. **Learn more** - [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) - [Tutorials](https://www.gatsbyjs.com/docs/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) - [Guides](https://www.gatsbyjs.com/docs/how-to/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) - [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) - [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) - [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) ## πŸš€ Quick start (Netlify) Deploy this starter with one click on [Netlify](https://app.netlify.com/signup): [Deploy to Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-minimal-ts)

File Structure

readme/
β”œβ”€β”€ .github/
| └── workflows/
|    └── gatsby.yaml                  (github actions workflow for gatsby)
β”œβ”€β”€ design/                           (design files & resources)
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”œβ”€β”€ .gitignore
β”œβ”€β”€ gatsby-config.ts
β”œβ”€β”€ LICENSE                           (license file | MPL 2.0)
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md                         (readme documentation | this file)
β”œβ”€β”€ tailwind.config.js                (tailwindCss config file)
└── tsconfig.json

The other files not described are either gatsby files. And it has its project structure properly explained here.

[https://www.gatsbyjs.com/docs/reference/gatsby-project-structure/]


Installing Dependencies


Name Link Npm global install Other npm ways
Nodejs https://nodejs.org/ -- --
Gatsby https://www.gatsbyjs.com/ npm install -g gatsby-cli [link], [link]
TailwindCss https://tailwindcss.com/ npm install -g tailwindcss [link], [link]
Typescript https://www.typescriptlang.org/ npm install -g typescript [link], [link]


Running the project

To run the project its fairly simple, after installing the required dependencies all that's needed is to run the following in two separate terminals .

Gatsby gatsby develop
TailwindCss npm run watch


Building the project

[https://www.gatsbyjs.com/docs/glossary/build/]