diff --git a/README.md b/README.md index 9cbf50bf749b79c8a9df6e9f44c5f05acb820fa5..292e507a00a74e036f1aa730c64406ff06ddb57b 100644 --- a/README.md +++ b/README.md @@ -15,31 +15,30 @@ Then, use the included scripts to install Archi Back: - On Windows, launch `setup.bat`. - On Linux/macOS, open a terminal inside the directory of the project then write + ```bash chmod +x ./setup.sh && ./setup.sh ``` ## Usage -Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README. -## Support -Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc. +First, you should launch the back-end part: + +- On Windows, launch `run.bat`. -## Roadmap -If you have ideas for releases in the future, it is a good idea to list them in the README. +- On Linux/macOS, open a terminal inside the directory of the project then write -## Contributing -State if you are open to contributions and what your requirements are for accepting them. +```bash +chmod +x ./run.sh && ./run.sh +``` -For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self. +Then, launch the front-end part with the instructions available +(here)[https://gitlab.imt-atlantique.fr/FIL-A3-2024/ue-proj/archi-front/-/blob/main/README.md?ref_type=heads]. -You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser. +## Authors -## Authors and acknowledgment -Show your appreciation to those who have contributed to the project. +Renaud Birk and Anas Yakoubov ## License -For open source projects, say how it is licensed. -## Project status -If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers. +This project is licensed under GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007. diff --git a/run.bat b/run.bat new file mode 100644 index 0000000000000000000000000000000000000000..8038fa427d7cfb40d2c0441a1bc6a26180f5d2f8 --- /dev/null +++ b/run.bat @@ -0,0 +1,2 @@ +@echo off +python3 .\src\main.py diff --git a/run.sh b/run.sh new file mode 100644 index 0000000000000000000000000000000000000000..6b0ad887d440c31dbcb88ed06c6b835c7f20ec78 --- /dev/null +++ b/run.sh @@ -0,0 +1 @@ +python3 src/main.py diff --git a/setup.sh b/setup.sh index c0399eba3f5f3685e1d3ab0669161cb2d60736ea..51dcc3247548a64848a06438653b1aa175dc2468 100644 --- a/setup.sh +++ b/setup.sh @@ -1,4 +1,4 @@ chmod +rx requirements.txt pip3 install -r requirements.txt || python3 -m pip install -r requirements.txt echo "Setup complete" -echo "You can launch the program by running 'python3 .\src\main.py'" +echo "You can launch the program by running 'python3 src/main.py'"