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
# secure cleaning with docker | |
docker system prune | |
# remove all untagged docker images | |
docker rmi -f $(docker images | grep "<none>" | awk "{print \$3}") | |
# remove all unused docker images | |
docker images -q |xargs docker rmi |
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
API_BASE_URL : https://formation-ionic.herokuapp.com | |
#### POST `/users` | |
You can do a POST to `/users` to create a new user. | |
The body must have: | |
* `username`: The username | |
* `password`: The password |
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
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
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 | |
# Thanks to: https://gist.github.com/DavidFrahm/4409d6b74e46377e7be7 | |
# Usage: ./create_ipa.sh <Scheme Name> <Provisioning Profile> | |
echo "Building Ionic iOS release..." | |
ionic build --release ios | |
pushd platforms/ios/ | |
echo "Building archive file..." | |
xcodebuild -scheme "$1" -configuration Release clean archive -archivePath "build/$1.xcarchive" |
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
Create this directories structure: | |
. | |
├── docker-compose.yml | |
├── dump | |
└── myDb.sql | |
Start the docker container with docker compose command : | |
docker-compose up -d | |
Manual version : |