Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.
/ MaterialBlog Public archive

My class blog (Albert Einstein WSERO secondary school)

License

Notifications You must be signed in to change notification settings

xnerhu/MaterialBlog

Repository files navigation

Build Status dependencies Status devDependencies Status

Standard - JavaScript Style Guide

MaterialBlog

MaterialBlog is my school project (Albert Einstein WSERO Laungage Secondary School) written in ES2017 using InfernoJS for rendering UI and MongoDB for database management. It's created on Google's Material Design style.

Running

Before using those commands below, please make sure you have npm, Python and MongoDB installed.

Before running MaterialBlog, you need to install all needed dependencies:

npm install

If you have installed all dependencies successfully, then in first terminal you need to run:

npm run start

and in second terminal:

node index

On the first node index run, you need to run

node default-settings

to create first admin account

Saving data

To save data (database and pictures), run:

node save

After finish, it will create compressed folder (ZIP) in auto save directory (default ./autosave) named actual date

Reseting to default settings

This script must be ran on the first blog run to create admin account and more.

node default-settings

Before run, I recommending to make data copy with node save