Last active
January 4, 2017 02:32
-
-
Save thiennn/ec06d179a6a465c41ff84255fc430a96 to your computer and use it in GitHub Desktop.
a shell script for simplcommerce-first-Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
cd /app/src/SimplCommerce.WebHost && dotnet ef database update | |
psql --username postgres -d simplcommerce -a -f /app/src/Database/StaticData_Postgres.sql | |
cd /app/src/SimplCommerce.WebHost && dotnet run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment