Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1 KB

DEPLOYMENT.md

File metadata and controls

40 lines (24 loc) · 1 KB

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 Railway. Railway 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.