Skip to content

Minimal web blog from scratch with meteor, angular 2, bootstrap 4.

License

Notifications You must be signed in to change notification settings

szorfein/Meteor-App

Repository files navigation

Meteor-App

Minimal webblog with meteor, angular2, bootstrap 4 and ionic.

Status

Currently DEAD, this project do not start anymore, problem with dependencie. meteor-angular as switch to ionic-cli and work better (for now...). issue

Some part of this code will be move to my next project penthotal

Preview

Article with preview

Installation

1 - install Meteor

$ curl https://install.meteor.com/ | sh

### 2 - Clone this repository.

$ git clone https://github.com/szorfein/Meteor-App.git 

### 3 - Install npm with dependencies

$ cd Meteor-App
$ meteor npm install

### 4 - Rename ./server/main.config.ts_EXAMPLE and Edit this file.

$ mv ./server/main.config.ts_EXAMPLE ./server/main.config.ts

And change salt value, admin account, imgur setting to your need.

### 5 - Copy file require for bootstrap, chart and font-awesome.

$ mkdir public/{css,js}
cp node_modules/{bootstrap,tether}/dist/js/{bootstrap,tether}.js public/js
cp node_modules/jquery/dist/jquery.js public/js/
cp node_modules/chart.js/dist/Chart.bundle.js public/js
cp node_modules/font-awesome/css/font-awesome.min.css public/css/

6 - Captcha

I have implement a very simple captcha based on question/response, I wouldn't implement google solution...
You probably want change couple question/response in file bellow before start...

./server/immports/fixtures/captcha.ts

7 - Start

$ meteor

Troubleshooting:

With GrSec and PAX, you need disable MPROTECT on meteor and mongo.

# paxctl-ng -Em ~/.meteor/packages/meteor-tool/.1.4.2.1r0536n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node
# paxctl-ng -Em ~/.meteor/packages/meteor-tool/.1.4.2.1r0536n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/mongodb/bin/mongo 

### Error after update.

You need reset project, simply with:

$ meteor reset && meteor 

Releases

No releases published

Packages

No packages published