A simple and lightweight blog engine. Demo
You will need
nodejs
(version 14 recommended)yarn
- Clone this repo
git clone [email protected]:nkhdo/simple-blog.git
- Setup dependencies
yarn install
- Copy
.env
file
cp .env.example .env
- Generate
APP_KEY
and set it inside.env
file
node ace generate:key
- Run database migrations
node ace migration:run
- Run database seeds
node ace db:seed
- Start dev server
yarn dev
- Play around with the code
The fastest way is use docker-compose
docker-compose up
Notes: remember to set NODE_ENV
to production
before starting a production instance