2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00
frappe_docker/start-container.sh
2017-07-24 08:52:16 +00:00

12 lines
267 B
Bash
Executable File

echo "Enter a password for your database "
read DB_PASS
echo 'export DB_PASS='$DB_PASS >> ~/.bashrc
source ~/.bashrc
docker-compose up -d
app_id=`docker ps | grep docker_frappe | awk {'print $1'}`
docker exec -it $app_id bash -c './setup.sh; exec "${SHELL:-sh}"'