Deploy React Redux to Bluemix

To Create Redux app and component that runs on Bluemix.  Check out https://github.com/davezuko/react-redux-starter-kit

1    First, clone the project:
$ git clone https://github.com/davezuko/react-redux-starter-kit.git <my-project-name>
$ cd <my-project-name>

2   Install dependencies and check to see it works. It is recommended that you use Yarn for deterministic installs, but npm install will work just as well.
$ yarn install    # Install project dependencies
$ yarn start      # Compile and launch (same as `npm start`)  or $npm run start

3   To deploy to Bluemix using Staticbuildpack
$npm run deploy:prod
$cd dist
$cf push “your app name” -b staticfile_buildpack

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s