Skip to content

Getting Started

Evan Ugarte edited this page Dec 13, 2019 · 31 revisions

Setting Up the Environment

Before cloning the repository, follow these steps to install Node and install MongoDB. Once you have installed both, all steps below should work for any OS.

To download and set up the repo, simply copy and paste this into your terminal.

git clone https://github.com/SCE-Development/Core-v4.git
cd Core-v4
npm install

If you find that git is not installed, you can install it here.

Running the Application

Ensure that you're inside the repository's directory before running any steps below.

Frontend Only

To simply run the application's frontend, paste the below command into your terminal.

npm run frontend

Shortly after, a window in your browser will open with the website on localhost:3000.

Frontend and MongoDB

To get our database up and running, enter this command within the Core-v4 directory.

mongod

In a new terminal window or tab, run the application with the command below:

npm start

After some time, the application will load in the browser's terminal

Clone this wiki locally