summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2016-12-24 15:43:11 -0700
committermo khan <mo@mokhan.ca>2016-12-24 15:43:11 -0700
commit7508e1515d4cec84aba59df8d36816ea77c0a474 (patch)
tree1aa5ed6ede4a5de277df2dd797ac5814bcbd603a
parente8f0843061daf56500bb76eb02237626834dd3b9 (diff)
remove .env files.
-rw-r--r--.env.example1
-rw-r--r--Rakefile2
-rw-r--r--app/infrastructure/configuration.js2
3 files changed, 2 insertions, 3 deletions
diff --git a/.env.example b/.env.example
deleted file mode 100644
index 9787ff2..0000000
--- a/.env.example
+++ /dev/null
@@ -1 +0,0 @@
-API_HOST=https://www.stronglifters.com
diff --git a/Rakefile b/Rakefile
index 1edbb7a..749b0b9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,7 +2,7 @@ namespace :release do
desc "create android release"
task :android do
# https://facebook.github.io/react-native/docs/signed-apk-android.html
- sh "cd android && ./gradlew assembleRelease"
+ sh "cd android && ./gradlew clean assembleRelease"
sh "ls android/app/build/outputs/apk/app-release.apk"
end
end
diff --git a/app/infrastructure/configuration.js b/app/infrastructure/configuration.js
index c05163d..5405cbf 100644
--- a/app/infrastructure/configuration.js
+++ b/app/infrastructure/configuration.js
@@ -1,5 +1,5 @@
var _defaults = {
- API_HOST: 'https://www.stronglifters.com',
+ API_HOST: 'http://192.168.128.6:3000',
ENV: 'production'
};