Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
eri24816 committed Apr 16, 2024
1 parent 2d67401 commit a7d3346
Showing 1 changed file with 13 additions and 32 deletions.
45 changes: 13 additions & 32 deletions content/docs/get_started/setup_development_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,20 @@ toc: true

2. Clone the repository:

```bash
git clone git@github.com:Grapycal/GrapycalPrivate.git
cd GrapycalPrivate
git submodule update --init --recursive
git checkout dev
```
```bash
git clone git@github.com:Grapycal/GrapycalPrivate.git
cd GrapycalPrivate
git checkout dev
```

3. Install grapycal backend and grapycal-builtin as editable packages:
3. Install dependencies:

```bash
pip install -e backend -e extensions/grapycal_builtin
```
```bash
scripts/dev_setup.sh
```

4. Install the frontend:
4. Run the development server:

```bash
cd frontend
npm install
cd ..
```

5. Start the backend:

By running grapycal in `extensions` directory, you can import every extensions there locally.

```bash
cd extensions/
grapycal --no-http
```

6. Start the frontend server in another terminal:

```bash
cd frontend
npm run app
```
```bash
scripts/dev.sh
```

0 comments on commit a7d3346

Please sign in to comment.