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

Note

If you use 🐳 Docker instead of 🦦 Podman, just replace podman-compose with docker compose, and podman with docker in code examples below.

Build an Image

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

podman-compose build

Create node_modules

Run this command to install npm packages and generate a node_modules directory on your local machine:

podman-compose run --rm app npm i

Run the Container

To run a container, navigate to the root of the project and run this command:

podman-compose up -d

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

Enter the Container

podman-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:

podman-compose down