2017-07-20 07:21:33 +00:00
# frappe_docker
2017-07-18 09:26:31 +00:00
2017-07-18 08:57:28 +00:00
Containerizing the frappe bench installation for a development environment
2017-07-18 09:26:31 +00:00
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### Prerequisites
What things you need to install the software and how to install them
```
Docker
docker-compose
```
### Installing
A step by step series of examples that tell you have to get a development env running
2017-07-20 07:21:33 +00:00
Installing Docker Community Edition
2017-07-18 09:26:31 +00:00
```
Follow the steps given in https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/
The Docker version used by us is Docker version 17.06.0-ce, build 02c1d87
```
2017-07-20 07:21:33 +00:00
Installing docker-compose
2017-07-18 09:26:31 +00:00
```
Follow the steps given in https://docs.docker.com/compose/install/
The docker-compose version used by us is docker-compose version 1.14.0, build c7bdf9e
```
2017-07-18 09:32:59 +00:00
## Deployment
2017-07-18 09:26:31 +00:00
Steps to be followed to build and run the docker image are :
```
2017-07-24 08:52:16 +00:00
1. Run the start-container script
2017-07-18 09:26:31 +00:00
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
5. Run the bash_for_container.sh file with the command ./bash_for_container.sh
6. You will be prompted to enter the Mysql db password it is 123
7. You will be prompted to choose and enter an administrator password please enter and remember it for future use
8. Once all the installation steps are complete you can access the Web based GUI by typing localhost:8000 on your browser.
## Built With
* [Docker ](https://www.docker.com/ )
## Contributing
2017-07-24 08:52:16 +00:00
Feel free to contribute to this and make the container better
2017-07-18 09:26:31 +00:00
## Authors
* **Vishal Seshagiri** - *Initial work* - [FrappeBench ](https://github.com/frappe/bench )
See also the list of [contributors ](https://github.com/your/project/contributors ) who participated in this project.
## License
This project is licensed under the MIT License - see the [LICENSE.md ](LICENSE.md ) file for details
## Acknowledgments
2017-07-20 07:21:33 +00:00
* Hat tip to anyone who's code was used - [Pratik Vyas ](https://github.com/pdvyas )
2017-07-18 09:26:31 +00:00
* Inspiration - [Rushabh Mehta ](https://github.com/rmehta )