First time deployment steps
Whenever the package and dependencies are revised please do follow the steps below for the local development environment.
Step 1:
Pull ff-shop to latest version.
Step 2:
remove node_module
directories and the files inside public/vendor
but make sure public/vendor
must exists
Step 3:
On terminal, use yarn run i
to install front-end/back-end packages
After installation, a symbolic link between node_modules/@bower_component and public/vendor will be created automatically
Step 4
Build or start debug mode in VSCode
To build and start
$ npm run build
Or run production build
$ npm run production_build
Then start
$ npm start
To debug using VSCode
Just press F5
Step 5
After the first time deployment, you can run ff-shop like before, no extra steps is required