AmpShare is a Next.js application for managing appliance schedules.
This application can be built and run using Docker and Docker Compose.
- Docker installed (https://docs.docker.com/get-docker/)
- Docker Compose installed (usually comes with Docker Desktop, or see https://docs.docker.com/compose/install/)
-
Clone the repository (if you haven't already):
git clone <repository-url> cd ampcshare
-
Build and run the application using Docker Compose: From the project root directory (where
docker-compose.ymlis located), run:docker-compose up --build -d
--build: Forces Docker to rebuild the image if there are changes to theDockerfileor application source code.-d: Runs the containers in detached mode (in the background).
-
Accessing the application: Once the containers are up and running, the application will be accessible at: http://localhost:3917 (The port
3917is mapped to the container's port3000as defined indocker-compose.yml.)
To stop the Docker Compose services, run the following command from the project root:
docker-compose downThis will stop and remove the containers defined in docker-compose.yml.
For local development without Docker, refer to the scripts in package.json (e.g., npm run dev).
Make sure to check CLAUDE.md for common commands and project structure.