Skip to content

santosoide/simple-blog-react

Repository files navigation

Simple Blog using React, Redux and Fethersjs


About

This project using a starter boilerplate

Installation

npm install

Running Dev Server

npm run dev

Building and Running Production Server

npm run build
npm run start

Demo

A demonstration of this app can be seen running on heroku, which is a deployment of the deploy branch.

Deployment on Heroku

To get this project to work on Heroku, you need to:

  1. Remove the "PORT": 8080 line from the betterScripts / start-prod section of package.json.
  2. heroku config:set NODE_ENV=production
  3. heroku config:set NODE_PATH=./src
  4. heroku config:set NPM_CONFIG_PRODUCTION=false
  • This is to enable webpack to run the build on deploy.

The first deploy might take a while, but after that your node_modules dir should be cached.


Thanks to this out.

– Erik Rasmussen, @erikras

Releases

No releases published

Packages

No packages published