Skip to content

v2.0.1

Compare
Choose a tag to compare
@zyij99 zyij99 released this 12 Apr 17:27
· 105 commits to main since this release
d88ae75

What's Changed

Full Changelog: v2.0.0...v2.0.1

How to run this project

  • Requirements: Python, JavaScript, npm, yarn
  • API keys: OpenAI key, Google maps api key
  • AWS EC2 instance, mysql db hosted within EC2 instance (we're using mariadb)
  • create python virtual enviornment on MacOS: python3 -m venv venv activate: venv/bin/activate OR source venv/bin/activate OR for windows: python -m venv <path> ./venv/Scripts/activate
  • Install backend dependencies: $pip install -r requirements.txt
  • React setup: npm install or npm ci
  • to run react setup in development: npm start
  • running flask backend (dev): python3 server.py
  • If you're having trouble with @react-google-maps/api try using yarn add @react-google-maps/api
  • If you're having trouble with npm try: npm install --force
  • you will need a .env file with the following: OPENAI_API_KEY, SSH_HOST, SSH_PORT, SSH_USERNAME, SSH_PRIVATE_KEY (Note: this is the path to the .pem file for EC2 instance), MYSQL_HOST, MYSQL_PORT, MYSQL_USERNAME, MYSQL_PASSWORD, MYSQL_DB
  • You will also need the .cer/.pem file to access EC2 instance.