Skip to content

UTSC-FinTech-Society/official-website

Repository files navigation

FTS Offical Website

Designed and developed by our amazing developers in the Tech team :)

Run Guide

  1. Clone the repo locally in your computer

    git clone [email protected]:UTSC-FinTech-Society/official-website.git
  2. Navigate to the official website repo

    cd official-website
  3. Install all the necessary dependencies with npm

    npm install --legacy-peer-deps
  4. Run the website locally and get to see all the amazing contents

    npm start

Deployment Guide

  1. SSH into the remote DigitalOcean server (Note: ask VP of Tech to add your ssh key to DigitalOcean if you haven't do so yet)

  2. Navigate to the official website repo and pull the latest main branch with git

    cd official-website
    git pull
  3. Install all the necessary dependencies with npm

    npm install --legacy-peer-deps
  4. Build our production project

    npm run build

    In case it pops up an error showing heap space is exceeded, run the below command before building project

    export NODE_OPTIONS="--max-old-space-size=8192"
  5. Replace the contents of the folder /var/www/html with the contents of the build folder

    cp -a build/. /var/www/html/

About

The official website for UTSC FTS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published