Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/louislam/dockge-website


https://github.com/louislam/dockge-website

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# Dockge Website

https://dockge.kuma.pet

## Dev

Install Dependencies

```bash
composer install
```

Run the server

```bash
composer run-script dev
```

## Deploy to Production

First time:

```bash
cd /opt/stacks/dockge-website
git clone https://github.com/louislam/dockge-website .

# Create `.env`.
# Rename `.env.sample` to `.env`.

# Start the server.
docker compose up -d

# composer maybe not ready yet, run again if failed.
docker compose exec dockge-website composer install
```

Update source code:

```bash
cd /opt/stacks/dockge-website
git fetch --all
git checkout origin/master --force

# run if new dependencies added.
docker compose exec dockge-website composer install
```

Alternatively, you can run the following command to update the source code and dependencies in your local machine.

```bash
composer run-script deploy
```