-
Notifications
You must be signed in to change notification settings - Fork 9
Deploy Piecewise Without Docker
Piecewise can be deployed without Docker. Your server or VM will need to be able
to run Nodejs, and npm
to install the application. Additionally you'll need a
webserver like Apache or Nginx, and will need to generate your own SSL
certificates.
First, clone this repository and from the root of the resulting directory install Piecewise's dependencies:
npm install
Then, build all components:
npm run build
Create the database:
npm run db:migrations
and to optionally populate it with test data:
npm run db:seeds
And start the running processes (with necessary environment variables if not
defined in .env
):
npm run start
(use npm run start:dev
to run in development mode)
Additionally, components can be built or started individually using for example
npm run build:backend
, etc. See commands in the package.json
file for more commands.