Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 965 Bytes

README.md

File metadata and controls

43 lines (37 loc) · 965 Bytes

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