0.5.1 • Published 12 months ago

@proophboard/cody-server v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Cody Server

Cody Server implementation.

Learn more about Cody in our prooph board wiki

Please Note: We assume that you're using TypeScript. If not, please ask in the chat for help with a plain JS set up!

Installation

npm i --save-dev @proophboard/cody-server

Initialize Cody

npx proophboard init

This will create a codyconfig.js in the project root. Further instructions can be found in the file!

Start Cody Server

npx proophboard start

By default the server will listen at port 3311. Start it with a different port like this:

PORT=3333 npx proophboard start

If you're working on Cody hooks it makes sense to let the Cody server restart automatically after hook changes. Let's assume you save your hooks in a directory called .codyhooks (recommended). You can use nodemon to watch for file changes and restart the server:

npm i --save-dev nodemon
nodemon --watch .codyhooks/**/* --watch codyconfig.ts --ext ts,json --exec 'npx proophboard start'

What's next?

If you're new to prooph board and Cody, please check out the tutorial to get started.

0.4.4

1 year ago

0.5.0

12 months ago

0.5.1

12 months ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago