Before starting to work on development environment:
- Make sure in /config.json that WEBPACK_DEV_SERVER_PORT matches the port number on /client/package.json -> scripts -> start
- Make sure that you local AppEngine server not running on same port, and running on APP_ENGINE_DEV_SERVER_PORT key in /config.json
Installation:
- cd client
- npm install
Run:
- cd client
- npm start
- run AppEngine server (usually from root directory run command: "dev_appserver.py --admin_port=9000 --port=3001" the google AppEngine SDK should be on the PATH and again make sure port is same as APP_ENGINE_DEV_SERVER_PORT in config.json file)
- open browser http://localhost:[[APP_ENGINE_DEV_SERVER_PORT]] (change it to your port)
- the app should be running with no console errors and no 404s
Deploy:
- uncomment the in admin/index.html, this file is created when webpack building for production
- cd client
- npm run dist
- deploy to app engine "appcfg.py update app.yaml" (google app engine SDK should be on PATH)