Code Monkey home page Code Monkey logo

johnedquinn.github.io's Introduction

Portfolio Website

Welcome !

This is a fun website that shows a bit who I am. It's been a while since I've worked on this project, but I'm working on making it more fun. Recently, due to the high cost of cloud, I've transitioned from using AWS CDK, CodeBuild, CodeDeploy, ECS, etc to using GitHub Actions to push to AWS ECR and ECS.

Requirements

Development

Without Docker

You'll need:

  • NodeJS

With Docker

You'll need:

  • Docker

Deployment

You'll need the following:

  • an AWS Account
  • Docker installed

Installation

@TODO

To Run

Development

Run npm run start to run the app in development mode.

Open http://localhost:3000 to view it in the browser.

Docker

Build

First, you'll need to build the app

-- These are variables I'll use -- You can use your own --
% export REPO_NAME="johnedquinn"
% export IMG_NAME="portfolio-website"
% export IMG_TAG="latest"
% export FULL_TAG="${REPO_NAME}/${IMG_NAME}:${IMG_TAG}"

-- Build --
% docker build . -t "${FULL_TAG}"

Run

If you look at the Dockerfile, we run the server on Port 80, so you'll need to map it to some open port.

-- Again, you can specify whichever port you please --
% export OPEN_PORT="8050"

-- Start the Container --
% docker run -p "${OPEN_PORT}:80" -d "${FULL_TAG}"

You can see the Docker logs by:

-- Get Container ID --
% docker ps

-- Print App Output --
% docker logs <container id>

To can access the website, in this instance, at http://localhost:8050.

To Deploy

export NODE_OPTIONS=--openssl-legacy-provider
npm run predeploy
npm run deploy

johnedquinn.github.io's People

Contributors

johnedquinn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.