Skip to content

Dans-Plugins/dpc-website

Repository files navigation

Dan's Plugins Community Website

This is a website intended to serve as a hub for the Dan's Plugins Community.

The website is currently hosted at https://dansplugins.com.

Contributing

If you would like to contribute to the website, you can do so by forking the repository and submitting a pull request. If you are not familiar with how to do this, you can follow the steps below:

  1. Fork the repository
  2. Clone the repository to your local machine
  3. Make your changes
  4. Commit your changes
  5. Push your changes to your fork
  6. Submit a pull request

How to compile & run the project

Compile Manually

To compile the project, you will need to have Node.js installed. Once you have Node.js installed, you can run the following commands in the project directory:

npm install
npm run build

Run Manually

Once the project is compiled, you can run the project by running the following command in the project directory:

npm run start

build_and_run.sh Script

Alternatively, you could execute the build_and_run.sh script in the project directory:

./build_and_run.sh

This script will compile the project and then run it.

Docker

Start

The website can be run in a Docker container. To do this, you can run the following commands in the project directory:

docker build -t dpc-website .
docker run -p 3000:3000 dpc-website

Stop

To stop the Docker container, you can run the following command in the project directory:

docker stop dpc-website

Docker Compose

Start

The website can also be run in a Docker container using Docker Compose. To do this, you can run the following command in the project directory:

docker-compose up

Alternatively, you could execute the up.sh script in the project directory:

./up.sh

Stop

To stop the Docker container, you can run the following command in the project directory:

docker-compose down

Alternatively, you could execute the down.sh script in the project directory:

./down.sh

Next.js

This is a Next.js project bootstrapped with create-next-app.

To learn more about Next.js, take a look at the following resources: