aws上にopenshift originを立てる

この記事を参考に構築

https://registry.terraform.io/modules/literalice/openshift/aws/0.0.10

 

github.com

 

この手順通りやってるとmake installでエラーがでた

 

module.openshift_platform.null_resource.openshift (remote-exec): ERROR! the playbook: /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml could not be found
module.openshift_platform.null_resource.openshift (remote-exec): ERROR! the playbook: /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml could not be found


gitリポジトリ内の/usr/share/ansible/openshift-ansible/を全て/usr/share/ansible/に変えると動いた

react-native run-androidでエラー

windowsで実施

 

こんなエラーが出る

Building and installing the app on the device (cd android && gradlew.bat installDebug)...
エラー: メイン・クラスorg.gradle.wrapper.GradleWrapperMainが見つからなかったかロードできませんでした
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

 

対策

cd android

gradle wrapper

cd ..

react-native run-android

react nativeアプリをwindowsでandroidシミュレータで動かしたらエラーが出た

こんな感じのエラー

unable to load script from assets index.android.bundle

 

解決策

https://stackoverflow.com/questions/44648466/unable-to-load-script-from-assets-index-android-bundle

$ mkdir android/app/src/main/assets

$ react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

$ react-native run-android

Reduxを学ぶ

http://basic-redux.axlight.com/html/

 

電卓アプリで学ぶReact/Redux入門(実装編) - Qiita