This is a Next.js project bootstrapped with create-next-app.
For development, run:
npm run dev-local
# or
yarn dev-localOpen http://localhost:3000 with your browser to see the result.
For build, run:
npm run build
# or
yarn buildThe success build, will output the build files in the .next folder & the sitemap will be generated in the public folder.
Deployment from Zaxe Server:
cd /var/www/deployment
# &
deploy.learn.zaxe.com.sh
# zaxe@zaxe3dprinters:/var/www/deployment# deploy.learn.zaxe.com.sh
# [ zaxe3D ] : Running deploy script learn.zaxe.com...
# ...
# [ zaxe3D ] : Deployed successfully to production at https://learn.zaxe.com
# [ zaxe3D ] : Restarting PM2 instance..
# [ zaxe3D ] : PM2 instance restarted.
# zaxe@zaxe3dprinters:/var/www/deployment#To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.