Applied-Engineering-FC / applied-engineering-fc.github.io

Deployed Website for Applied Engineering Club FJC
0 stars 1 forks source link

[AEC-WS-00] - Setup Website Locally #1

Open nasirhm opened 1 year ago

nasirhm commented 1 year ago

Configure the website locally to setup development environment.

Steps:

soh3ee commented 1 year ago

Detailed steps to setup local development environment for new people (: (If you're new to CS, this may be scary at first, so here are some detailed steps that tell you exactly what to do in order to get started with contributing the AEC website)

1. Fork the repo.

2. Clone the forked repo.

3. Installing NodeJS

  1. Change into the website-dev directory and install all necessary plugins
    • To change directories in Linux or MacOS (or any UNIX-based system), type cd website-dev. Then, run npm install.
    • npm knows what plugins install by reading package.json. It also installs their dependencies.

!!! Windows-based operating systems: I would suggest installing and using WSL or spinning up a VM. Basically, I don't think web-development in Window-based OSs is beginner-friendly nor efficient.

  1. Run npm run dev
    • This basically makes your computer a local server! When you run npm run dev, you'll see Local: http://localhost:5175/, or something similar to that. Copy and paste that into your browser, and you'll be able to see the website in your browser!

Feel free to ask any questions under this issue