Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 2.04 KB

File metadata and controls

34 lines (21 loc) · 2.04 KB

Next.js Blog

1-click-deploy

This template is a starter project developed using Next.js designed to make it easy to launch a blog. It offers an excellent starting point to help you publish your content by simply modifying the MDX files included in _posts directory. 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!

Essential Setup Files

  1. A Dockerfile to describe the basic image of your applications.
  2. A docker-compose file to define and run multi-container Docker applications.
  3. A .dockerignore file to comply with the size limit (10MB).

Prerequisite

  1. Download Defang CLI
  2. 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, and AWS_SECRET_ACCESS_KEY.

A Step-by-Step Guide

  1. Edit your content in the _posts directory
  2. Open the terminal and type defang login
  3. Type defang compose up in the CLI
  4. Now your application will be launched

Title: Next.js Blog

Short Description: A starter project developed using Next.js designed to make it easy to launch a blog.

Tags: Next.js, Blog, Node.js, React, MDX, TypeScript, JavaScript

Languages: nodejs