https://github.com/php-ago/php-ago.github.io
Frontend documentation for the PHP package "ago"
https://github.com/php-ago/php-ago.github.io
docker docs documentation vitepress
Last synced: 3 months ago
JSON representation
Frontend documentation for the PHP package "ago"
- Host: GitHub
- URL: https://github.com/php-ago/php-ago.github.io
- Owner: php-ago
- License: mit
- Created: 2022-12-07T19:25:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2026-01-12T19:27:31.000Z (5 months ago)
- Last Synced: 2026-01-13T00:44:12.055Z (5 months ago)
- Topics: docker, docs, documentation, vitepress
- Language: Dockerfile
- Homepage: https://php-ago.github.io/
- Size: 2.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Documentation website for [ago](https://github.com/php-ago/ago) library
## Contribute
### NPM Commands
#### Install Dependencies
```bash
npm i
```
#### Watch File Changes
```bash
npm run dev
```
Navigate to `http://localhost:5173` to see your documentation if you run project locally. For containers, visit `http://localhost:3000`.
### With Container Engine
#### Build an Image
To build an image, navigate to the root of the project and run this command.
With Podman:
```bash
podman-compose build
```
With Docker:
```bash
docker compose build
```
#### Create `node_modules`
Run this command to install npm packages and generate a `node_modules` directory on your local machine.
With Podman:
```bash
podman-compose run --rm app npm i
```
With Docker:
```bash
docker compose run --rm app npm i
```
#### Run the Container
To run a container, navigate to the root of the project and run this command.
With Podman:
```bash
podman-compose up -d
```
With Docker:
```bash
docker compose up -d
```
You can visit `http://localhost:3000` to see your documentation.
#### Enter the container
To enter inside of the container, run this command.
With Podman:
```bash
podman-compose exec app sh
```
With Docker:
```bash
docker compose exec app sh
```
You'll be able to run NPM commands inside of the container.
#### Stop the container
After you are done working, run this to cleanup containers.
With Podman:
```bash
podman-compose down
```
With Docker:
```bash
docker compose down
```