Skip to content

Commit

Permalink
update production setup readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pipech committed Jun 15, 2018
1 parent ac70823 commit c3e2560
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions docs/setup/development_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,6 @@ so you could explore the code.

`. init.sh`

* Restart container

```
exit
docker stop <frappe_container_id>
docker start <frappe_container_id>
```
* Call bash in frappe container
`docker exec -it <frappe_container_id> bash`
* Start development server

`bench start`
Expand Down Expand Up @@ -77,3 +65,9 @@ so you could explore the code.
* Remove container using docker-compose

`docker-compose down`

### Create new site

* Change user and db host from 172.x.x.x to %, it'll make frappe able to connect to mariadb when frappe change ip

`mysql -h mariadb -uroot -pmysql < "./init.sql"`

0 comments on commit c3e2560

Please sign in to comment.