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.
Check out the live site at matthewjlowe.com
To get a local copy up and running, follow these steps:
Clone the repository:
git clone https://github.com/yourusername/new-portfolio-2024.git
Navigate to repository:
cd new-portfolio-2024
Install dependencies:
npm install
npm run dev
Open http://localhost:5173 to view the project in your browser.
npm run build
npm run preview
dev
: Starts the Vite development serverbuild
: Builds the project for productionlint
: Lints the project files using ESLintpreview
: Serves the production build for previewbuild:css
: Compiles Tailwind CSS to the output fileContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)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