Excel file content comparism system
Project Name - CompareX
CompareX is a file comparison tool under development to serve the following functionalities
main
View the live demo of the Project here
The first thing you will want to do is fork this repository. What this means, is that you get your own copy of this repository. You can then safely make changes to your own copy, and then later, you can submit your changes, and tell the team lead to combine (merge) the changes you made to the main repository. Here is a tutorial showing you how to do that
The next thing you want to do is clone (make a copy) of the Project on your profile, to your local machine (Laptop, PC, MacBook). To do that;
git clone [Link to your copy of the compareX repository]
.
The link should look like this :
https://github.com/<your username>/Team-109-__-Excel_comp
Now you have the local copy of compareX. There's more than one developer contributing to the project, so you have to update your local copy very frequently. Therefore, you need to connect your local copy to the original repository. To do that :
git remote add upstream https://github.com/zuri-training/Team-109-__-Excel_comp.git
Now, you can start making changes that relates to your issues and then commiting them. To do this, follow these instructions:
git add .
or any method(github desktop, VScode source control) that serves your needs.e.g
git commit -m "adds signup button to the sign up page"
git push origin
Which pushes your changes to your online copy, after which you then open a pull request.
Now that you have updated your online copy. You will need a way to inform the PR Lead handling the original repository that your contribution is ready. To do that, you open a Pull request, which simply means that you want them to combine(merge) your changes with that of the original repository. Because, what is the essence of making changes without the changes being merged right?
To open a pull request, immediately after the last step (commiting your changes with push):
Now that you have forked the repository, you have cloned the repository and also set the upstream. To stay up to date and avoid conflicts. Before you edit anything, you need to update your local copy. Therefore, whenever you want to make any change, first run an update command like so:
git pull upstream develop
This will check for any changes that have been made to the original repository, it will then bring those changes to your local machine and merge (merge) the changes.
Deployment Instructions
After cloning and pulling the latest changes, from the base folder(the folder created when you cloned)
cd Frontend/gui
npm run dev
open your browser and go to http://localhost:3000/
there you'll be able to view the app and see your changes as you code
After cloning and pulling the latest changes, from the base folder(the folder created when you cloned)
run cd Backend
create a virtual environment(call it env)
activate your virtual environment
install all dependencies by running "pip insall -r requirement.txt"
cd to the 'src' folder and run 'python manage.py runserver 8000' to get the backend running.
The API used is Django rest_framwork which enables the interaction between the backend and the frontend