Skip to content

UCF BRASA Venmo Microservice- Created in Python by the Tech Team

Notifications You must be signed in to change notification settings

UCF-BRASA/BRASA-Payment-Microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the BRASA Payment Microservice!

Important Links

Setup

(Disclaimer)

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:

terminal sc

1. Install Python

Please install the most recent version of Python here: https://www.python.org/downloads/

2. Clone this repository

git clone https://github.com/UCF-BRASA/BRASA-Payment-Microservice.git

2. Run the setup script (in a Git terminal)

  • 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
    

3. Activate the environment (in any terminal)

python -m pipenv shell

4. Use Python interpreter from the local virtual environment (if this step is too confusing, please reach out to us!)

  1. To find your virtual environment, run the following command:

    pipenv --venv
    
  2. 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)

    interpreter sc

  3. Change the Python interpreter (so your code knows where to find the packages you installed)

    • Ctlr + Shift + P

    • Select the options 'Python: Select Interpreter'

    • Select 'Enter interpreter path'

    • Select 'Find...'

    • Choose .../<weird-virtual-environment-name>/Scripts/python.exe as your interpreter

      path sc

5. Run setup script

python util/setup.py

6. Ask for sheets_creds.json

Ask Fachetti or Duda, instructions on this part. You need to get actual these credentials in Google Cloud.

Start server

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)

Pushing your code

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 :)

About

UCF BRASA Venmo Microservice- Created in Python by the Tech Team

Topics

Resources

Stars

Watchers

Forks