Renamed the bash file
This commit is contained in:
parent
d9ec558dfb
commit
ef99b8baee
@ -1,4 +1,4 @@
|
||||
# Docker_frappe
|
||||
# frappe_docker
|
||||
|
||||
Containerizing the frappe bench installation for a development environment
|
||||
|
||||
@ -38,7 +38,7 @@ The docker-compose version used by us is docker-compose version 1.14.0, build c7
|
||||
|
||||
Steps to be followed to build and run the docker image are :
|
||||
```
|
||||
1. Run the bash script bash_script.sh (Modify it to executable if not already given using the chmod +x command) with the command ./bash_script.$
|
||||
1. Run the bash script setup-frappe.sh (Modify it to executable if not already given using the chmod +x command) with the command ./setup-frappe.sh
|
||||
2. After a few minutes the prompt will point to the App container with a root prefix to it (your current location is /home/frappe)
|
||||
3. You will be inside /home/frappe/code folder
|
||||
4. Make the bash_run_container.sh executable by chmod +x as in step 1 and run it with the command ./bash_run_container.sh
|
||||
@ -68,6 +68,5 @@ This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md
|
||||
|
||||
## Acknowledgments
|
||||
|
||||
* Hat tip to anyone who's code was used - Pratik Vyas(https://github.com/pdvyas)
|
||||
* Hat tip to anyone who's code was used - [Pratik Vyas](https://github.com/pdvyas)
|
||||
* Inspiration - [Rushabh Mehta](https://github.com/rmehta)
|
||||
|
||||
|
@ -3,8 +3,6 @@ db_id=`docker ps | grep "mariadb" | awk '{print $1}'`
|
||||
db_ip=`docker inspect --format '{{ .NetworkSettings.Networks.docker_default.IPAddress }}' $db_id`
|
||||
app_id=`docker ps | grep docker_frappe | awk {'print $1'}`
|
||||
app_ip=`docker inspect --format '{{ .NetworkSettings.Networks.docker_default.IPAddress }}' $app_id`
|
||||
echo 'export app_id='$app_id >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
echo 'cd ../' >> ./bash_for_container.sh
|
||||
echo 'bench init frappe-bench && cd frappe-bench' >> ./bash_for_container.sh
|
||||
echo 'bench set-mariadb-host '$db_ip >> ./bash_for_container.sh
|
Loading…
x
Reference in New Issue
Block a user