2019-04-16 09:00:24 +02:00

15 lines
316 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict';
/**
* Use `server.js` to run your application without `$ strapi start`.
* To start the server, run: `$ npm start`.
*
* This is handy in situations where the Strapi CLI is not relevant or useful.
*/
const strapi = require('strapi');
strapi({
appPath: __dirname,
}).start();