writefreely/docker-setup.sh
2018-11-16 14:53:42 -06:00

4 lines
No EOL
210 B
Bash
Executable file

#!/bin/bash
docker-compose exec db sh -c 'exec mysql -u root -pchangeme writefreely < /tmp/schema.sql'
docker exec writefreely_web_1 writefreely --gen-keys
docker exec -it writefreely_web_1 writefreely --config