DIYgod mirror
Go to file
DIYgod b8286c662a
feat: crossbell renovation - support slug
2022-06-29 20:55:50 +01:00
.github/workflows Email styling (#72) 2022-05-21 18:22:45 +08:00
e2e setup playwright (#69) 2022-05-21 16:53:25 +08:00
prisma feat: manually send email for new posts 2022-06-07 20:54:50 +08:00
public so now we're on fly.io 2022-05-16 14:13:44 +08:00
src feat: crossbell renovation - support slug 2022-06-29 20:55:50 +01:00
.dockerignore tweak styles 2022-06-04 00:27:42 +08:00
.env.example feat: crossbell renovation - editor page 2022-06-24 23:39:03 +01:00
.eslintrc.json so now we're on fly.io 2022-05-16 14:13:44 +08:00
.gitignore setup playwright (#69) 2022-05-21 16:53:25 +08:00
.prettierrc chore: add prettier config, closes #78 2022-05-22 16:42:15 +08:00
Dockerfile improving login/subscription flow 2022-05-27 02:15:58 +08:00
LICENSE add a license 2022-05-20 18:10:21 +08:00
README.md chore: rename 2022-06-21 20:40:55 +01:00
fly.toml force https 2022-05-20 16:20:16 +08:00
next-env.d.ts so now we're on fly.io 2022-05-16 14:13:44 +08:00
next.config.js update icons 2022-05-28 16:44:16 +08:00
package.json feat: crossbell renovation - editor page 2022-06-24 23:39:03 +01:00
playwright.config.ts setup playwright (#69) 2022-05-21 16:53:25 +08:00
pnpm-lock.yaml feat: crossbell renovation - editor page 2022-06-24 23:39:03 +01:00
postcss.config.js update temp landing page 2022-05-20 01:03:13 +08:00
tailwind.config.js feat: add copy button to code block 2022-05-28 00:47:34 +08:00
tsconfig.json so now we're on fly.io 2022-05-16 14:13:44 +08:00
types.d.ts improving login/subscription flow 2022-05-27 02:15:58 +08:00
uno.config.ts update icons 2022-05-28 16:44:16 +08:00
vitest.config.ts use vitest 2022-05-28 13:33:26 +08:00

README.md

Development

Follow the steps to run it locally.

  1. Copy .env.example to .env
  2. Run postgres locally, the easiest way on mac is brew install postgresql, you can also use docker
docker run -d \
	--name mypostgres \
	-e POSTGRES_PASSWORD=pass \
	-e PGDATA=/var/lib/postgresql/data/pgdata \
	-v mypostgres_data:/var/lib/postgresql/data \
	-p 5432:5432 \
	postgres
  1. Install dependencies: pnpm i
  2. Initialize the database by running pnpm prisma db push
  3. Start dev server: pnpm dev