Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

appthings/jbake-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fR7

Mobile CMS/RSS example, Work in Progress. Uses Framework7, Flux, RiotJS and Pug/Jade.

Here is youtube demo video of this app running: http://youtube.com/watch?v=yUjt8EBZaac

To build/run in 4 steps.

  1. Get logging, w/ free account on logz.io. Copy the api token/key. With your editor, create a file www/ts/initLog.js, copy / paste this code using your key. This is the file that has the 'token', so you don't use my token:

     	var token = 'XXX';
     	Logger = new LogzioLogger(token);
     	console.log('Logger ready. View logs on logz.io');
     	// optional:
     	Logger.log({
     		param1: 'value1',
     		param2: 'value2',
     		message: 'Oh hi'
     	});
    
  2. Build: (first we need gulp dependencies )

     	npm i
    
     	gulp
    
  3. Run: Start any http/webserver with www as root. I use WedgeServer or in VSCode I use 'LiveServer' plugin. Open in browser! That's it.

  4. Bonus: Modify code.

     	gulp watch
    
     	//change www/ts/model.ts access method to return a different RSS file
    

Build and code comments wellcome. Just use a git issue to do that.

NOTE

The x.pug layout may help you on a new project.