This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am tygern on github. | |
* I am tysongern (https://keybase.io/tysongern) on keybase. | |
* I have a public key ASCv4NLq74Rd1T6mlpKoA1lEI4iTTGvWxA8WxiKkllFmVgo | |
To claim this, I am signing this object: |
This file contains hidden or 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
# Install docker-machine | |
curl -L https://github.com/docker/machine/releases/download/v0.16.0/docker-machine-$(uname -s)-$(uname -m) > ~/bin/docker-machine | |
chmod +x ~/bin/docker-machine | |
# Install doctl | |
curl -sL https://github.com/digitalocean/doctl/releases/download/v1.41.0/doctl-1.41.0-darwin-amd64.tar.gz | tar -xzv | |
chmod +x doctl | |
mv doctl ~/bin | |
# Create docker machine |
This file contains hidden or 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
sudo apt install curl | |
curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add - | |
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list | |
sudo apt update | |
sudo apt purge ubuntu-web-launchers | |
sudo apt install gnome-session gnome-sushi git openjdk-11-jdk network-manager-openvpn-gnome gnome-tweak-tool chrome-gnome-shell xsel gnome-weather tree htop sysfsutils signal-desktop ubuntu-restricted-extras jq certbot mariadb-server python3.7 python3-pip | |
sudo update-java-alternatives --set /usr/lib/jvm/java-1.11.0-openjdk-amd64 |
This file contains hidden or 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
dependencies { | |
compile "org.springframework:spring-jdbc:$springVersion" | |
compile "org.springframework:spring-web:$springVersion" | |
} |
This file contains hidden or 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
buildscript { | |
ext { | |
springBootVersion = "1.5.3.RELEASE" | |
springVersion = "4.3.8.RELEASE" | |
mysqlVersion = "6.0.6" | |
springCloudVersion = "1.2.1.RELEASE" | |
springCloudDependenciesVersion = "Camden.SR6" | |
springCloudServicesVersion = "1.3.1.RELEASE" | |
} | |
// ... |
This file contains hidden or 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
dev.datasource.password=super-secret | |
test.datasource.password=also-secret |
This file contains hidden or 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
def localProperties = new Properties() | |
localProperties.load(project.rootProject.file("local.properties").newDataInputStream()) | |
start.environment([ | |
"DATASOURCE_URL": "jdbc:mysql://localhost:3306/pickles_dev", | |
"DATASOURCE_USER": "pickles", | |
"DATASOURCE_PASSWORD": localProperties.getProperty("dev.datasource.password"), | |
"PICKLES_URL": "http://localhost:8081", | |
]) |
This file contains hidden or 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
start.environment([ | |
"DATASOURCE_URL": "jdbc:mysql://localhost:3306/pickles_dev", | |
"DATASOURCE_USER": "pickles", | |
"DATASOURCE_PASSWORD": System.getenv("DEV_DATASOURCE_PASSWORD"), | |
"PICKLES_URL": "http://localhost:8081", | |
]) | |
test.environment([ | |
"DATASOURCE_URL": "jdbc:mysql://localhost:3306/pickles_test", | |
"DATASOURCE_USER": "tester", |
This file contains hidden or 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
start.environment([ | |
"DATASOURCE_URL": "jdbc:mysql://localhost:3306/pickles_dev", | |
"DATASOURCE_USER": "pickles", | |
"PICKLES_URL": "http://localhost:8081", | |
]) | |
test.environment([ | |
"DATASOURCE_URL": "jdbc:mysql://localhost:3306/pickles_test", | |
"DATASOURCE_USER": "tester", | |
"PICKLES_URL": "http://localhost:7071", |
This file contains hidden or 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
export DATASOURCE_URL=jdbc:mysql://localhost:3306/pickles_test | |
export DATASOURCE_USER=tester | |
export PICKLES_URL=http://localhost:7071 | |
./gradlew test |
NewerOlder