Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.57 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.57 KB

AMI Landing Page

Automated Monitoring of Insects (AMI) is an international consortium of experts developing non-lethal, end-to-end monitoring solutions for automated insect detection and species classification that leverage artificial intelligence (AI).

The landing page was setup using Next.js and create-next-app.

System requirements

  • Node
  • NPM

The .nvmrc file in project root describes the recommended Node version for this project.

Getting started

# Install dependencies
npm install

# Run app in development mode
npm run dev

The app will now be available in a browser on http://localhost:3000. Hot reload will be enabled by default.

Edit content

All text content is specified in the file /src/content.json. To edit any content, simply update this file. Public assets are hosted from folder /public.

Deployment

A public preview version of the web app is temporarily deployed on https://ami-landing-page-3ofwd.ondigitalocean.app. The preview version is automatically updated when a change is pushed to branch main.

With a static export, the app can be deployed and hosted on any web server that can serve HTML/CSS/JS static assets. When running the build command, Next.js generates the static export into the out folder.

# Install dependencies
npm install

# Generate static export
npm run build

# [Only for testing] Serve prod app on localhost
npx serve@latest out