Skip to content

Ezraay/portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Portfolio

This repository stores my personal website. it's built on a Node.js and Express base, using EJS to create dynamic pages when necessary. I also use Typescript rather than regular Javascript to have less error prone code.

Setup

If you just cloned the repo, setup is as simple as running two commands and creating a file.

Step 1

The first command is used to install any dependencies necessary to run the website.

npm install

Step 2

The second step involves creating a .env file in the root of the directory to store important environment variables. It should look something like this:

PORT=8000

Step 3

You're all set to run the server! This command ensures that the server restarts when it detects new changes through the use of Nodemon.

npm run dev

To see the website in action, go to the following URL, replacing the port if necessary.
http://localhost:8000

Deployment

To compile the Typescript code into regular Javascript, and compile the .scss file, simply run:

npm run build

The server can then be started without file-change watching through:

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published