- Serene Alrawi
- Shayan Borhani Yazdi
- Louis Hudson
- Gabriel Hughes
- Xun Khang Tan
- Hao-Yen Tang
- Alara Tindall
- Python 3.11 or higher
- Make sure
pip,pipenvandsetuptoolsare installed and upgraded to the latest version by runningpip3 install --upgrade pip pipenv setuptools.
- Make sure
- Node.js LTS or higher and npm
- Note: the latest versions of Node.js may output a warning when the website is running.
- MySQL 8 or higher
- For macOS Homebrew users, run
brew install mysql. - For Linux, you should use the package manager specific to your distribution.
- For macOS Homebrew users, run
- (Optional) pnpm
-
Clone the repository by running
git clone https://github.com/thiswasdumb/SoftEngProject.git. -
Enter the project directory with
cd tradetalkerand install the dependencies withnpm i(orpnpm iif you wish to use pnpm.) -
Setup the MySQL server:
- Start the server. (On macOS, run
mysql.server start) - Access the server by running
mysql -u root. - Create the
tradetalkerdbdatabase. (CREATE DATABASE tradetalkerdb;) - Exit the server by running
exit.
- Start the server. (On macOS, run
-
Run the development server with
npm run devorpnpm dev.- If an error shows up containing the message
/bin/sh: pkg-config: command not found, try installingpkg-configby runningbrew install pkg-config.
- If an error shows up containing the message
-
Wait until the Flask server is ready, and open http://localhost:3000 with your browser to see the result.
-
The Flask server will be running on http://127.0.0.1:8080.
-
When done, stop the MySQL server. (On macOS, run
mysql.server stop)
Further details about how to develop the project can be found in the project readme.
