Clone
git clone https://github.com/GVatest/simple-blog
cd simple-blog
Install
npm install
# or
yarn install
Setup
generate prisma client / apply migrations
npx prisma generate
npx prisma migrate deploy
environment variables
OCTOKIT_ACCESS_TOKEN = "your token from https://github.com/settings/tokens/new"
create new superuser
node createsuperuser.js --username <name> --password <password>
Start
npm run dev
# or
yarn dev
Build
npm run build
# or
yarn build
Contributors:
- 👤 Vasiliy Ganja
Github
: @Gvatest