yarn start:prod
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
yarn install
yarn gencss
yarn next:build
yarn start
Need pm2 to always run the node
and nginx to reverse proxy to port 80
Since this is only appear in localhost, there will not be a fix for this.
- we have provided manual login for localhost use by the following steps:
- login from http://next.fives.cloud and copy cookie named "connect.sid" which has value familair to the image
- open localhost:3000 and use browser's dev tool to create new cookie named "connect.sid" with the same value copied from the previous step.
- refreshthe web. you will be now logged in.
Symbol | Directory | Example Usage |
---|---|---|
@ | ./components | import FacebookCard from '@/shared-components/FacebookCard' |
https://new5558.surge.sh << old build before migrate from static site to express rendering.
https://cu-blood.herokuapp.com << master branch CI/CD NO DOCKER.
https://poom-cublood.herokuapp.com << poom branch CI/CD NO DOCKER.
http://next.fives.cloud << production branch (same as master but less frequent update)(digital ocean 5$ droplet) NO CD ONLY MANUAL DEPLOY.