diff --git a/content/docs/get_started/setup_development_environment.md b/content/docs/get_started/setup_development_environment.md index 665a4be..d4ac706 100644 --- a/content/docs/get_started/setup_development_environment.md +++ b/content/docs/get_started/setup_development_environment.md @@ -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 - ``` \ No newline at end of file +```bash +scripts/dev.sh +```