Skip to content

Real-Dev-Squad/website-goals

Repository files navigation

goals-site

Pre Requisite

  • Install volta
  • Install yarn
volta install yarn

Setup

  • Install local dependencies
yarn
  • Copy enviroment variables

Create a new file .env at root level and copy its content from .env.example

Local Development

With Staging backend-goals

You don't need to have backend-goals run locally

  • Run development command
yarn dev

With Local backend-goals

Connect to local backend-goals

  • Go to .env
  • Set your NUXT_PUBLIC_GOAL_API value to http://localhost:8000/api (or a url of the backend-goals you want to connect to)

It should look something like this -

NUXT_PUBLIC_GOAL_API='http://localhost:8000/api'
  • Restart the server

Production Setup

  • Generate the static content
yarn run generate
  • The output is generated in .output directory

About

All the goals that make you better each day!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published