This template is a boilerplate project developed using Next.js, offering a starting point to help you quickly build your website. We have prepared all the necessary files for deployment. By spending just a few minutes setting up the environment, as detailed in the prerequisites, and executing the commands in our step-by-step guide, your website will be ready to go live in no time!
- A Dockerfile to describe the basic image of your applications.
- A docker-compose file to define and run multi-container Docker applications.
- A .dockerignore file to comply with the size limit (10MB).
- Download Defang CLI
- If you are using Defang BYOC, make sure you have properly authenticated your AWS account
Plus, make sure that you have properly set your environment variables like
AWS_PROFILE
,AWS_REGION
,AWS_ACCESS_KEY_ID
, andAWS_SECRET_ACCESS_KEY
.
- Open the terminal and type
defang login
- Type
defang compose up
in the CLI - Now your application will be launched
Title: Next.js Boilerplate
Short Description: A boilerplate project developed using Next.js, offering a starting point to help you quickly build your website
Tags: next.js, react, boilerplate, website
Languages: nodejs, typescript