- npm 10.0.0
- Node.js v18.17.1
First, run the install command:
npm installSecond, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
First, pull the git repo:
git clone git@github.com:RedMotionMedia/xdrinks-frontend.git
# or
git pullSecond, run the build command to generate a production optimized version:
npm run buildThird, run the start command with or no output:
sudo nohup npm run start &
# or
sudo npm run start If you want to start it on a different port try:
sudo nohup npm run start -- --port 3100 & # Without output
# or
sudo npm run start -- --port 3100 # With output