Skip to content

CraigP17/Control-Systems-2023

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS-Ground

Description

Client Setup

Description

Front end system using ReactJs

Dependencies

npm version 8.19.2+

Running Client

cd client
npm install  # update dependencies
npm start

If an error related to dependencies is raised, run the following:

npm install --legacy-peer-deps

Server Setup

Description

Backend server API using Python Flask

Dependencies

  • Python 3.9+
  • The required dependencies are included in the requirements.txt file

Environment Setup

cd server

If using Pycharm, follow Virtual Environment Guide for creating the virtual environment

If creating through terminal:

python -m venv venv

Activate virtual environment using:

MacOS and Linux:

source venv/bin/activate 

Windows:

venv\Scripts\activate

Installing

Install the required Python dependencies using:

pip install -r requirements.txt

Running the Server

python app.py

Contributing

After cloning the repo, you'll be in the main branch

Create a new branch for your task and switch to it

git checkout -b <branch-name>

Now implement your tasks and insert code

Once finished, you will push it to your branch

Use git status to see which files you have changed

Track your changes using

git add <file-name>

Commit your changes to the repo, after adding all files

git commit -m "Descriptive message about your changes"

Push changes to repo and set upstream

git push -u origin <branch-name>

Now go to our repository in GitHub and your branch, create a Pull Request

Assign the Reviewer to Craig or Jacob

Add the Assignee as yourself

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.5%
  • JavaScript 6.1%
  • Other 1.4%