Skip to content

wijloc/linksGallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link's Gallery

Project Setup

Frontend

cd frontend\
npm install

Backend

cd backend\
npm install

Compiles and minifies for production

Prepare enviroment to deploy integrated project

npm install

Build frontend

cd frontend\
npm run build

Deploy

npm run deploy

Steps to make available on AWS

Copy dist to AWS

scp -r -i .\linkGallery.pem .\dist\ [ec2_link]:dist

Install node.js on AWS EC2

https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html

Install pm2 on AWS EC2

npm install pm2 -g

Export enviroment variables

export LG_CONNECTION_STRING="[CONNECTION_STRING]"
export LG_BACKEND_IP=[IP]

Steps to start enviroment

cd dist\
npm install
npm run start-prod

About

SPA to collect links and set up their gallery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published