mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
update
This commit is contained in:
parent
76047fb18b
commit
2ae520e72d
3 changed files with 27 additions and 4 deletions
3
Makefile
3
Makefile
|
|
@ -10,5 +10,6 @@ tty:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@docker-compose -f .devcontainer/docker-compose.yml down
|
@docker-compose -f .devcontainer/docker-compose.yml down
|
||||||
@docker volume prune
|
@docker volume prune -f
|
||||||
|
@docker container prune -f
|
||||||
@docker-compose -f .devcontainer/docker-compose.yml up -d
|
@docker-compose -f .devcontainer/docker-compose.yml up -d
|
||||||
|
|
|
||||||
|
|
@ -54,3 +54,11 @@ It takes care of complete setup to develop with Frappe/ERPNext and Bench, Includ
|
||||||
- [Frappe Framework](https://github.com/frappe/frappe#contributing)
|
- [Frappe Framework](https://github.com/frappe/frappe#contributing)
|
||||||
- [ERPNext](https://github.com/frappe/erpnext#contributing)
|
- [ERPNext](https://github.com/frappe/erpnext#contributing)
|
||||||
- [frappe/bench](https://github.com/frappe/bench)
|
- [frappe/bench](https://github.com/frappe/bench)
|
||||||
|
|
||||||
|
## Development Setup Manual for beginners
|
||||||
|
- install docker, docker-compose.
|
||||||
|
- Clone the repo, cd into it
|
||||||
|
- run `make start` if you are doing first time or `make clean` for clean installation
|
||||||
|
- run `make tty` - you are inside the dev container
|
||||||
|
- run `make clean-init`
|
||||||
|
- run `make install`
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
start:
|
clean-init:
|
||||||
@cd test
|
@sudo rm -R frappe-bench -f
|
||||||
@ls -la
|
@bench init --skip-redis-config-generation --frappe-branch version-12 frappe-bench
|
||||||
|
|
||||||
|
install:
|
||||||
|
@cd ./frappe-bench && \
|
||||||
|
bench set-mariadb-host mariadb && \
|
||||||
|
bench set-redis-cache-host redis-cache:6379 && \
|
||||||
|
bench set-redis-queue-host redis-queue:6379 && \
|
||||||
|
bench set-redis-socketio-host redis-socketio:6379 && \
|
||||||
|
bench new-site mysite.localhost --mariadb-root-password 123 --admin-password admin --no-mariadb-socket && \
|
||||||
|
bench get-app --branch version-12 erpnext https://github.com/frappe/erpnext.git && \
|
||||||
|
bench --site mysite.localhost install-app erpnext
|
||||||
|
|
||||||
|
drop:
|
||||||
|
@cd ./frappe-bench && \
|
||||||
|
bench drop-site mysite.localhost --force
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue