imageboard/README.md

35 lines
859 B
Markdown
Raw Permalink Normal View History

2023-01-14 12:43:45 +01:00
# Imageboard
2023-01-12 16:03:38 +01:00
2023-01-16 22:10:29 +01:00
An imageboard made with Remix, with an SQLite database, using Prisma ORM. Also using Tailwind for styling.
2023-01-14 12:43:45 +01:00
Not ready for production yet, but you can try.
2023-01-12 16:03:38 +01:00
2023-01-17 16:22:06 +01:00
The board works almost completely without JavaScript (thread making, replying to threads), but user experience is very much improved if you enable it.
2023-01-14 12:43:45 +01:00
## Development
2023-01-12 16:03:38 +01:00
2023-01-16 22:10:29 +01:00
Format the code with Prettier using the command line (check the documentation), or just install the Prettier extension from VSCode extensions.
2023-01-16 15:44:49 +01:00
2023-01-12 16:03:38 +01:00
```sh
2023-01-14 12:43:45 +01:00
git clone https://git.disroot.org/qwertyasdfgh/imageboard
cd imageboard
pnpm install
pnpm prisma db push
pnpm run dev
2023-01-12 16:03:38 +01:00
```
2023-01-14 19:49:32 +01:00
Set DATABASE_URL with .env
2023-01-14 19:48:54 +01:00
2023-01-14 12:43:45 +01:00
## Production
2023-01-12 16:03:38 +01:00
```sh
2023-01-14 12:43:45 +01:00
git clone https://git.disroot.org/qwertyasdfgh/imageboard
cd imageboard
pnpm install
2023-01-17 16:49:46 +01:00
pnpm prisma generate
2023-01-17 16:35:45 +01:00
pnpm prisma migrate deploy
2023-01-14 12:43:45 +01:00
pnpm run build
pnpm start
2023-01-12 16:03:38 +01:00
```
2023-01-14 12:43:45 +01:00
Run behind reverse proxy like NGINX