7daytheory / new-portfolio-2024

Creating a new portfolio for deployement on live web server.
1 stars 0 forks source link

New Portfolio 2024

This project is a personal portfolio website built using React, Vite, and Tailwind CSS. It showcases various sections like the banner, projects, experience, contact form, and more. The project is designed to be responsive and includes features like animations, form submissions, and toast notifications.

Table of Contents

Demo

Check out the live site at matthewjlowe.com

Features

Built With

Getting Started

To get a local copy up and running, follow these steps:

Prerequisites

Installation

  1. Clone the repository:

    
    git clone https://github.com/yourusername/new-portfolio-2024.git
  2. Navigate to repository:

    
    cd new-portfolio-2024
  3. Install dependencies:

    npm install

    Running The Project

    To Start Dev Server, run:

    npm run dev

    Open http://localhost:5173 to view the project in your browser.

    Running The Project

    To create a build , run:

    npm run build

    Running The Project

    To Preview the production build locally, run:

    
    npm run preview

Scripts

Dependencies

Dev Dependencies

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Setting up Node Server

Install NVM (Node Version Manager)


curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

<p>After running the installation script, you should close and reopen your terminal, or you can run the following command to use NVM immediately:</p>
```bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # loads nvm bash_completion

### Install Node
```bash
nvm install node  # installs latest Node.js version
nvm use node      # use installed node

<p>You can verify if this worked by checking version with -v (node -v or nvm -v)</p>

### Install PM2 
<p>With Node.js and npm installed, you can now install PM2, which is used to manage and keep your Node.js applications running - you can just use node but PM2 has many helpful features:</p>
```bash
npm install pm2@latest -g  # Installs PM2 globally

<p>Start the application with PM2</p>
```bash
pm2 start index.js --name "app name"  # I used index.js but it might be server.js or app.js - and insert your app name from package

### Set up application to auto-start
```bash
pm2 startup  # Run as superuser

```bash
pm2 save # Savecurrent list of processes