THIS IS A DEMO STORE, YOU WON'T BE CHARGED. U:Test P:funkytest111@

Documentation

Local development

Learn how to set up a hot-reloading server locally.

What You need is:

  • Node v.20+ installed globally on the machine with linux / mac system:
    • netlify CLI (install with homebrew or apt-get)
    • gatsby CLI (install with homebrew or apt-get)
    • yarn / pnpm / npm (install with homebrew or apt-get)
    • nvm* – *optional for changing node versions
  • A clone of the code repository – access required

Start the server:

  • Make sure node is installed = node -v
  • Check for netlify -v and gatsby -v globally
  • Make sure yarn | npm | pnpm is present -v globally
  • Navigate to the folder with the code
  • Run yarn | npm | pnpm install for dependencies
  • Add .env.development file with values
  • Run ntl dev | gatsby develop for the server
  • Test changes with ntl build | gatsby build

1. Requirements for local development

Lorem ipsum…

  • 1.1 Homebrew
  • 1.2 Node v.20+ -g
  • 1.4 Yarn / NPM / PNPM -g
  • 1.3 Netlify / Gatsby CLI -g
  • 1.5 NVM* – optional

2. Starting the server

You can clone the folder to Your local machine, then setup the local development server for works on the frontend code.

  • 1. Fork repo with codenote: access provided is required first
  • 2. Navigate to the folder with the code
  • 3. Run yarn | npm | pnpm install for dependencies
  • 4. Add .env.development file with values
  • 5. Run ntl dev | gatsby develop for the server

Then proceed to local development section, or If you want to go live in no time go to netlify settings.

3. Working with the local server

  • Test changes with ntl build | gatsby build before deploying

Note: Real time updates to products are not supported yet, You need to rebuild the server each time products data change.

Next 1.5 Netlify CI / CD setup

superfunky theme

Stay up to date with our progress. Get notified when the product drops.