Update Local Dev Environment Setup

Linden Crandall 2025-01-12 22:53:53 +00:00
parent f7dca71fdd
commit 2d0a3c017e

@ -5,7 +5,7 @@ In order to start developing you need to satisfy the following prerequisites:
- Docker: [Docker Engine](https://docs.docker.com/engine/install/ubuntu/) - Docker: [Docker Engine](https://docs.docker.com/engine/install/ubuntu/)
- docker-compose: [Docker Engine](https://docs.docker.com/engine/install/ubuntu/) - docker-compose: [Docker Engine](https://docs.docker.com/engine/install/ubuntu/)
- Add current user to docker group: `sudo usermod -aG docker $USER` (you might have to logout and login again, or reboot your OS for changes to take effect) - **IMPORTANT** Add current user to docker group: `sudo usermod -aG docker $USER` (you might have to logout and login again, or reboot your OS for changes to take effect; test by trying to run a docker command without `sudo` i.e. `docker ps`)
- Git - Git
- VS Code or VS Codium (VS Codium not tested) - VS Code or VS Codium (VS Codium not tested)
- Dev Containers extension installed for VS Code. [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) - Dev Containers extension installed for VS Code. [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
@ -54,10 +54,12 @@ cd frappe-bench
. env/bin/activate . env/bin/activate
``` ```
- Set default site in Bench: - Set default site in Bench:
```bench use development.localhost ```
bench use development.localhost
``` ```
- From /frappe-bench dir, start dev server: - From /frappe-bench dir, start dev server:
```bench start ```
bench start
``` ```
- you should be able to now access your site with all of the apps you specified in `apps.json` at - you should be able to now access your site with all of the apps you specified in `apps.json` at
``` ```