/prospect-app

Pröspect - a Bot that reassembles images from the McCord Museum’s Photography Collection

Primary LanguageVue

JavaScript Style Guide

Pröspect app

https://pröspect.art

This repo contains the code for Pröspect's app. The app is built with Nuxt.js and some cool libraries and modules, have a look at the package.json to find out more. The font we use is IBM Plex.

Setup

Install dependencies

$ yarn

Create environment configuration

Create a .env file based on the example and adjust variables according to your needs.

$ cp .env.example .env

Run the app

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

Deploy

To deploy the app, we rely on PM2 ecosystem files. More on info on deploying with PM2 can be found here.

Deploy to dev:

$ pm2 deploy ecosystem.dev.config.js dev

Deploy to live:

$ pm2 deploy ecosystem.live.config.js live

Credits