https://github.com/minusinfinite/devblog
A simple CMS with express with handlebars
https://github.com/minusinfinite/devblog
Last synced: 8 months ago
JSON representation
A simple CMS with express with handlebars
- Host: GitHub
- URL: https://github.com/minusinfinite/devblog
- Owner: minusInfinite
- Created: 2021-09-08T09:52:27.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-06-09T00:22:11.000Z (about 1 year ago)
- Last Synced: 2025-06-09T01:25:14.555Z (about 1 year ago)
- Language: JavaScript
- Size: 5.45 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Devblog
A simple CMS with express with handlebars
[Live Demo](https://minusinfinite.id.au/blog)
## Contents
- [Local Deployment](#local-deployment)
- [Download](#download)
- [Examples](#examples)
## Local Deployment
This CRM uses [PostgreSQL](https://postgresql.org/) as it's database and
[Sequelize](https://sequelize.org/) as the ORM for providing schema models and queries.
Be sure to have MySQL setup an running before you download.
### Download
In your terminal download the repo
```terminal
git clone https://github.com/minusInfinite/devblog.git
```
Once cloned setup the depenencies with yarn
```terminal
yarn
```
You will also need to edit the .env.EXAMPLE file to .env with the following
DBNAME - _The database Name_
DBUSER - _Your server or database Username_
DBPASS - _Your server or database password_
CSECRET - _Random characters for the Session Cookie Secret_
PSECRET - _Cookie-Paser Secret_
CCSECRET - _CSRF Secret_
ADMINNAME - _Admin Login Name_
ADMINEMAIL - _Admin Email Address_
ADMINPASS - _Admin Pass_
ROOT - _Custom Root Path_
NODE_ENV - _NODE Environment Mode_
Once you .env is setup you should be able to run the server
```terminal
npm start
```
Or for development
```terminal
npm run dev
```
## Examples
[Live Demo](https://minusinfinite.id.au/blog)
