Skip to content

GabenGar/todos

Repository files navigation

TODOs

Table of Contents

Requrements

NodeJS - 20.9+

Installation

  1. Clone the repo:

    git clone https://github.com/GabenGar/todos.git
  2. Switch to the repo:

    cd ./todos
  3. Install all dependencies:

    npm install
  4. Build the project:

    npm run build
  5. Start the server:

    npm run start

Develop

turbo dev

Prep the Workflow

  1. Open git config:
    open ./.git/config
  2. Add user section:
    [user]
        name = <username>
        email = <email>
  3. Add ssh key to core section:
      sshCommand = ssh -i <ssh_key_path> -F /dev/null
  4. Change push remote to ssh endpoint:
    git remote set-url --push origin git@github.com:<username>/todos.git

Turborepo

Turborepo claims that the invocation from global install will invoke local install if applicable, so it can be installed globally:

npm install turbo --global

And then instead of npm run ... commands it can be used as turbo ....

Troubleshooting

  • I get npm ERR! code ENOWORKSPACES frontend:dev: npm ERR! This command does not support workspaces. error when starting development. Run cd apps/frontend && npx next telemetry disable.