$ docker
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
| target 'YourAPP' do | |
| config = use_native_modules! | |
| use_react_native!(:path => config["reactNativePath"]) | |
| target 'YourAPP' do | |
| inherit! :complete | |
| # Pods for testing | |
| end |
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
| service: random-name | |
| provider: | |
| name: aws | |
| runtime: nodejs12.x | |
| stage: dev | |
| environment: | |
| usersTableName: ${self:custom.myEnvironment.usersTableName.${self:custom.myStage}} # This I used in my code as process.env.usersTablename | |
| projectsTableName: ${self:custom.myEnvironment.projectsTableName.${self:custom.myStage}} |
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
| import {action1, action2} from "myActions"; | |
| import {bindActionCreators} from "redux"; | |
| import {connect} from "react-redux"; | |
| const mapStateToProps = (state, ownProps) = { | |
| return { | |
| counter : state.counter, | |
| someComponentValue : state.things[ownProps.someIdProp] | |
| }; | |
| } |
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
| + case "$(lsb_release -si)" in | |
| ++ lsb_release -si | |
| + export DOKKU_DISTRO=ubuntu | |
| + DOKKU_DISTRO=ubuntu | |
| + export DOKKU_IMAGE=gliderlabs/herokuish | |
| + DOKKU_IMAGE=gliderlabs/herokuish | |
| + export DOKKU_LIB_ROOT=/var/lib/dokku | |
| + DOKKU_LIB_ROOT=/var/lib/dokku | |
| + export PLUGIN_PATH=/var/lib/dokku/plugins | |
| + PLUGIN_PATH=/var/lib/dokku/plugins |