build start
TODO!!! bug with CRA and TS facebook/create-react-app#9868 comment out tsconfig.json before running start.
make sure mock_mode is "true" in constants.js export const MOCK_MODE = true;
docker build -t shape-shop-front-end:1.1 .
docker run -d -p 8788:80 shape-shop-front-end:1.1
website should be accesible :
- check CONSTANTS.TS. Makes sure baseURL is pointing to the correct azure instance. Currently it is : "https://shape-shop-app.happywave-c1a7da5f.westeurope.azurecontainerapps.io/"
- npm run build
- netlify deploy (make sure build directory points to ./build !!)
check the link to see if its OK, latest is : https://64b10cd334d49621b798aed1--alpenhof3.netlify.app
- netlify deploy --prod (make sure build directory points to ./build !!)