Go to file
2016-07-14 18:16:56 +02:00
bin Initial commit. 2016-07-14 17:15:55 +02:00
gulp Initial commit. 2016-07-14 17:15:55 +02:00
img/svg Initial commit. 2016-07-14 17:15:55 +02:00
less Initial commit. 2016-07-14 17:15:55 +02:00
server Dollr and app.js. 2016-07-14 18:16:56 +02:00
src Dollr and app.js. 2016-07-14 18:16:56 +02:00
static Initial commit. 2016-07-14 17:15:55 +02:00
.babelrc Initial commit. 2016-07-14 17:15:55 +02:00
.eslintrc Initial commit. 2016-07-14 17:15:55 +02:00
.gitignore Initial commit. 2016-07-14 17:15:55 +02:00
gulpfile.js Initial commit. 2016-07-14 17:15:55 +02:00
package.json Dollr and app.js. 2016-07-14 18:16:56 +02:00
README.md Initial commit. 2016-07-14 17:15:55 +02:00

Miller Konsult

Running

  1. $ git clone git@gitlab.thecodebureau.com:lohfu/millerkonsult.git && cd millerkonsult
  2. $ npm install
  3. $ npm run gulp

Testing

$ npm test

Admin Panel

The admin panel is available under the /admin path, ie http://localhost:3000/admin if you run with the default settings.

Directories

/gulp

This contains ALL gulp logic.

/public

This directory is maintained by gulp. All static assets get symlinked in here, and any built code

This folder should not be edited directly, or commited to git.

/sass

This folder contains all SASS files and is compiled with the gulp sass task, which puts the output CSS into /public/css

/server

This directory contains all JavaScript that only has to do with running your server instance.

Checking routes

console.log(routes):

/static

This contains all static content.

Most content in here should be symlinked into the public folder. The only content in here that needs to be built in production environment should SVG files, which should be minified.

/src

This contains all JavaScript not only run in the browser. This includes all isomorphic code (ie code that runs both in the browser and in the server) and browser specific code. All Marko templates, components and custom tags are put in here as well. Some of the code in here is only ment to be run in the browser, currently this is all the Backbone logic (Backbone views, models, collections and routers).