/SL2

Primary LanguageJavaScript

SL2

Index

  1. Folder contents
  2. Requirements
  3. How to run
  4. How to run locally

Folder contents

  1. backend

This folder contains the API code.

  1. client

This folder contains the frontend code.

Requirements

  1. Git
  2. Node.js (v.16.16.0 or latest)

How to run

Linux

  1. Clone this repo git clone https://github.com/Dragoffs/SL2.git
  2. Move into the directory:cd SL2
  3. Run npm start
  4. Open localhost:3000 and you should be able to see the app.

Windows

  1. Clone this repo git clone https://github.com/Dragoffs/SL2.git
  2. Move into the directory SL2: cd SL2
  3. Run npm install
  4. Run npm run windows
  5. Open localhost:3000 and you should be able to see the app.

How to run locally

Set up

  1. Clone this repo git clone https://github.com/Dragoffs/SL2.git
  2. Move into the directory:cd SL2
  3. Move into the directory: cd client
  4. Open up .env.local
  5. Swap the values between NEXT_PUBLIC_API_ROUTE and NEXT_PUBLIC_API_LOCAL

Linux / Mac

  1. Move to the root directory SL2
  2. Run npm start
  3. Open localhost:3000 and you should be able to see the app.

Windows

  1. Move to the root directory SL2
  2. Run npm install
  3. Run npm run windows
  4. Open localhost:3000 and you should be able to see the app.