Disploy
This page will go over how to setup a development environment for Disploy.
Prerequisites
- Node.js (v18 or higher, we recommend using volta to install)
- Yarn (use
volta install yarn
to install) - Git
- A code editor that works well with TypeScript (we recommend VSCode)
Setup
- Clone the Disploy repository:
git clone https://github.com/Disploy/disploy
- Change directory to the Disploy repository:
cd disploy
- Install the dependencies:
yarn install
- Enter development mode:
yarn dev --filter=!@disploy/docs
- Open a new terminal and change directory to
apps/example
and runyarn
for the first time, this will link the CLI's executable. - Make changes to the code and see them live transpile and type check in the first terminal.
- For the first time make a new file called
.env
at the root of the repo, and fill it in with keys & values from.env.example
- To run the example app, run
yarn workspace @disploy/example disploy dev