Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
32 changes: 32 additions & 0 deletions .github/workflows/clean-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is a basic workflow to help you get started with Actions

name: Clean Workflow

# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
job_one:
# The type of runner that the job will run on
name: Clean
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: testing
uses: appleboy/ssh-action@master
with:
host: ${{secrets.HOST}}
username: ${{secrets.USERNAME}}
password: ${{secrets.PASSWORD}}
port: ${{secrets.PORT}}
script: |
cd ../pub
unalias rm
rm -rf cmsc389T-web-template

30 changes: 30 additions & 0 deletions .github/workflows/clone-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This is a basic workflow to help you get started with Actions

name: Clone workflow

# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
job_one:
# The type of runner that the job will run on
name: Clone
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: testing
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd ../pub
git clone git@github.com:berinyuy/cmsc389T-web-template.git
33 changes: 33 additions & 0 deletions .github/workflows/deployment-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is a basic workflow to help you get started with Actions

name: deployment workflow

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [master]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
job_one:
# The type of runner that the job will run on
name: Deploy
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: testing
uses: appleboy/ssh-action@master
with:
host: ${{secrets.HOST}}
username: ${{secrets.USERNAME}}
password: ${{secrets.PASSWORD}}
port: ${{secrets.PORT}}
script: |
cd ../pub
cd cmsc389T-web-template
git pull

20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,23 @@
#expose port 8080 and run the app
#the docker lecture will help you complete this file
#there should be a total of 9 lines
FROM node:10-alpine


RUN mkdir -p /home/node/app && chown -R node:node /home/node/app

RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app/node_modules

WORKDIR /home/node/app/

COPY package.json ./

USER node

RUN npm install

COPY --chown=node:node . .

EXPOSE 8080

CMD node app.js
Binary file added assets/pic.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/profilePic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
128 changes: 74 additions & 54 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,64 +1,84 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/css/style.css" />
<title>YOUR NAME</title>
<meta name="description" content="some desc">
</head>

<body>
<header class="main-header">
<br>
<h1 class="my-name my-name-large">YOUR NAME</h1>
</header>
<br><br><br>
<section class="content-section container">
<h2 class="section-header">About Me</h2>
<img class="about-prof-image" src="/assets/profile.png" height="200" width="200">
<p> INTRODUCE YOURSELF
<head>
<link rel="stylesheet" href="/css/style.css" />
<title>Brian Ndofor</title>
<meta name="description" content="some desc">
</head>

</p>
<body>
<header class="main-header">
<br>
<h1 class="my-name my-name-large">Brian Ndofor</h1>
</header>
<br><br><br>
<section class="content-section container">
<h2 class="section-header">About Me</h2>
<img class="about-prof-image" src="/assets/profilePic.jpg" height="200" width="200">
<p> INTRODUCE YOURSELF
I am a computer science major from Largo, MD. I am a junior and I previously
interned Bloomberg LP as a Software Engineer.
</p>

<p>
Relevant Info
</p>
<p>
Relevant Info
Major: Computer Science
Hometown: Largo, MD
University: University of Maryland, College Park
Height: 6' 4"
Country of Origin: Cameroon
</p>

<p>
your interests
</p>
<p>
your interests

<br><br><br><br><br><br><br><br><br><br><br>
</section>
<br>
<footer class="main-footer">
<div class="container main-footer-container">
<ul class="nav footer-nav">
<li>
<!-- YOUR GITHUB -->
<a href="https://github.com/" target="_blank">
<img class="sm-logo" src="/assets/githubwhite.png" height="50" width="50">
</a>
</li>
<li>
<!-- YOUR LINKEDIN -->
<a href="https://www.linkedin.com/" target="_blank">
<img class="sm-logo" src="/assets/linkedinwhite.png" height="50" width="50">
Basketball
Soccer
Money
Stocks
Crypto

</p>

<br><br><br><br><br><br><br><br><br><br><br>
</section>
<br>
<footer class="main-footer">
<div class="container main-footer-container">
<ul class="nav footer-nav">
<li>
<!-- YOUR GITHUB -->
<a href="https://github.com/berinyuy" target="_blank">
<img class="sm-logo" src="/assets/githubwhite.png" height="50" width="50">
</a>
</li>
<li>
<!-- YOUR LINKEDIN -->
<a href="https://www.linkedin.com/in/brian-ndofor-849934a6/" target="_blank">
<img class="sm-logo" src="/assets/linkedinwhite.png" height="50" width="50">

</a>
</li>
<li>
<!-- YOUR INSTAGRAM -->
<a href="https://www.instagram.com/theylovebrian301/?r=nametag" target="_blank">
<img class="sm-logo" src="/assets/pic.jpeg" height="50" width="50">
</a>
</li>
<li>
<a href="https://www.cs.umd.edu/" target="_blank">
<img src="/assets/umd-logo.png" height="34" width="195">
</a>
</li>

</ul>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript" src="/js/script.js"></script>
</body>

</a>
</li>
<li>
<a href="https://www.cs.umd.edu/" target="_blank">
<img src="/assets/umd-logo.png" height="34" width="195">
</a>
</li>

</ul>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript" src="/js/script.js"></script>
</body>



</html>
</html>