- Notion - https://marble-swordfish-9e2.notion.site/BRASA-App-3507314462cd48a6ade0cf3594514195
- GitHub - https://github.com/UCF-BRASA/BRASA-Payment-Microservice
All the commands below should be be ran on a GIT BASH terminal. I recommend using the terminal of your favorite IDE. Here's an example of where you can find on Visual Studio Code on a Windows OS:
Please install the most recent version of Python here: https://www.python.org/downloads/
git clone https://github.com/UCF-BRASA/BRASA-Payment-Microservice.git
-
For Windows (go to ):
bash RUN_ME_IN_GIT.sh
-
For Linux/Mac OS:
(if it's not working, please contact Fachetti or Duda)
- TO PREVENT BUGS, PLEASE RUN THE FOLLOWING COMMAND
pip install pipenv
python -m pipenv shell
4. Use Python interpreter from the local virtual environment (if this step is too confusing, please reach out to us!)
-
To find your virtual environment, run the following command:
pipenv --venv
-
Add virtual environments path to IDE settings (VSC example):
Ctrl + ,
to access Settings- Search for
python.venvFolders
setting - Add the path up until
./.virtualenvs
(like in the screenshot below)
-
Change the Python interpreter (so your code knows where to find the packages you installed)
python util/setup.py
Ask Fachetti or Duda, instructions on this part. You need to get actual these credentials in Google Cloud.
On development mode:
(make sure to check if the virtual environment is activated)
python -m app
On production mode:
(working on a command for this one)
After the setup is complete, go to the development
branch and create a new branch to develop new features.
Everyone will ALWAYS merge the branches into development
, never straight to main
.
Feel free to fork the repo and make a Pull Request as well :)