Most things should be configurable via next.config.js.
yarn install or npm installyarn global add vercel or npm i -g vercel.vercel command in the project directory.You can also use this nice button below -
if you are not using vercel for deployment (which I recommend because it's super fast and easy), you can run yarn build or npm run build and yarn start or npm start to run it on your own server.