2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 23:00:56 +00:00
frappe_docker/start-container.sh

12 lines
267 B
Bash
Raw Normal View History

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}"'