You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run -p 8282:8282 --name currency-go viyancs/golang-mysql // make container and run it
docker rm currency-go //remove container
docker exec -ti currency-go bash //login into container in windows version if u use git bash u need prefix winpty ex "$ winpty docker exec -ti currency-go bash"
docker run --name mysqldb -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=test_go -e MYSQL_ROOT_HOST=% -d mysql:5.7 // -d run in demon
docker exec -ti currency-go sh -c "cd cmd/schema && go build -a -o bintask task.go && ./bintask orm syncdb -force && ./bintask sample" //build and rebuild table with data sample