This sample shows how to get a static HTML + CSS + JavaScript website up and running with Defang.
- Download Defang CLI
- (Optional) If you are using Defang BYOC authenticated with your AWS account
- (Optional for local development) Docker CLI
To run the application locally, you can use the following command:
docker compose up
- Open the terminal and type
defang login
- Type
defang compose up
in the CLI. - Your app will be running within a few minutes.
Title: HTML & CSS & JavaScript
Short Description: A simple HTML + CSS + JavaScript website running on Defang.
Tags: HTML, CSS, JavaScript, Frontend
Languages: HTML, CSS, JavaScript