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

https://github.com/fireisgood/endless-struggle

Funny PocketBase app
https://github.com/fireisgood/endless-struggle

Last synced: 8 months ago
JSON representation

Funny PocketBase app

Awesome Lists containing this project

README

          

# [Endless Struggle](https://fireisgood.github.io/endless-struggle/)

An app to test a PocketBase backend. It is hosted on GitHub because funny free hosting.

## Installation

### Prerequisites

Read the [Astro quick start guide's prerequisite list](https://docs.astro.build/en/install/manual/#prerequisites).

This project uses pnpm. You can check that pnpm is installed in the terminal by running:

```bash
pnpm -v
```

### Setup

Once the prerequisites are installed, [clone the repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository) to your local machine.

This can be done from the command line:

```bash
git clone [url here] ./fireiswebsite
```

### Local Development

You can run the development server through the terminal. The default port is
1625 because I thought it was a funny number, but you can change it with the
`--port` flag.

From the command line:

```bash
# Default port 1625
pnpm dev

# Custom port
pnpm dev --port 1234
```

When astro is done setting up, you should see a success message.

```bash
┃ Local http://localhost:1625/
┃ Network use --host to expose
```

There are additional commands you can run from the terminal:

| Command | Action |
| :--------------------- | :----------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm dev` | Starts local dev server at `localhost:1625` |
| `pnpm build` | Build your production site to `./docs/` |
| `pnpm preview` | Preview your build locally, before deploying |
| `pnpm astro ...` | Run CLI commands like `astro add`, `astro check` |
| `pnpm astro -- --help` | Get help using the Astro CLI |

## Contributing

No.

## License

[MIT](https://choosealicense.com/licenses/mit/)