This project was bootstrapped with Create React App Folder structure and configured with webpack.
This is the demo version for glaxdu template. i.e: (does not contain all views or features of the original template)
In the project directory, you can run:
cd client
- navigate to
glaxdu-settings.js
. - uncomment
line: 132
and commentline: 133
cd ../server
npm run dev
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
cd client
- navigate to
glaxdu-settings.js
. - comment
line: 132
and uncommentline: 133
npm run build
cd ../server
npm start
Open http://localhost:8000 to view it in the browser.
The page will not reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
cd client
npm run build
cd ../server
herkou login -i
git init
(Required for 1st time deployment)git add .
git commit -am "new message"
git push heroku master