Skip to content

php-revival/php-revival.github.io

Repository files navigation

PHP Revival Banner

This is a landing page for the PHP Revival browser extension.

Development

NPM Commands

All the available NPM command you can find in package.json file.

Install Dependencies

npm i

Watch File Changes

npm run dev

Navigate to http://localhost:3000 to see your documentation.

With Container Engine

Build an Image

To build an image, navigate to the root of the project and run this command.

With Podman:

podman-compose build

With Docker:

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:

podman-compose run --rm app npm i

With Docker:

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:

podman-compose up -d

With Docker:

docker compose up -d

You can visit http://localhost:3000 to see your documentation.

Enter the Container

With Podman:

podman-compose exec app sh

With Docker:

docker compose exec app sh

You'll be able to run NPM commands inside of the container.

Remove and Stop the Container

To stop and remove the container, run this command.

With Podman:

podman-compose down

With Docker:

docker compose down