Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1021 Bytes

DEPLOYMENT.md

File metadata and controls

40 lines (24 loc) · 1021 Bytes

Deployment Instructions

Prerequisites

Before deploying, make sure you have the following software installed on your machine:

  • Node.js (v14 or newer)
  • Docker (v20.10 or newer)

The following environment variables are used for deployment:

  • FONTAWESOME_TOKEN: This token is used for authentication with the FontAwesome service. You need to obtain a valid token from your FontAwesome account and use it here. Please make sure not to expose this token publicly.

Local Deployment

Steps:

  1. Install the dependencies:
npm install
  1. Run Webpack to build the project:
npm run prod
  1. Run the application:
swift run

You should now be able to see the application running at localhost:8080.

Production Deployment

For deploying to production, we recommend using Render. Render is a platform that allows you to deploy your application to the cloud with ease. It also provides a free tier that is sufficient for deploying this application.