This is a notice that this project is no longer running. Thanks to all who supported us throughout this journey. Please contact Prof. Joseph Vybihal at McGill University for the continuation of this project. Cheers!
- The Chrome extension is officially published and can be found here
https://github.com/nvm-sh/nvm
$ cd react-app && nvm use
$ npm install
$ npm run start
cd flask_app
python3 -m venv .venv
source .venv./bin/activate
cd go
go build -o library.dll -buildmode=c-shared main.go library.go c_youtube.go c_newsapi.go c_factcheck.go
rm library.h
mv library.dll ../flask_app
docker compose up --build
the extension needs to be loaded into chrome:
extension workflow:
$ cd extension-react
$ npm install
$ npm run build
open chrome browser
navigate to chrome extensions page
select 'developer mode on' select 'load unpacked' navigate to the extension-react folder choose the 'dist' directory
Add the following .env file to your frontend/extension:
BACKEND_HOST=<HOST_NAME>
PORT=<PORT_NUMBER>
PROD_BACKEND_HOST=<BACKEND_HOST>
ENV=<PROD | DEV>
And the following .env file for your Flask backend (i.e. create a .env file in your flask_app directory):
GOOGLE_API_KEY=<KEY>
CLIENT_ID=<ID>
CLIENT_SECRET=<KEY>
NEWS_API_KEY=<KEY>
HOST=<HOST_NAME>
PORT=<PORT_NUMBER>
DATABASE_NAME=<NAME>
DATABSE_HOST=<HOST>
DATABASE_PORT=<PORT>
DATABASE_URI=<URI>
- To work in locally, you need to make sure the .env file is not ignored in .dockerignore
- You can push a subtree to heorku for the frontend and the backend
- Logo and Icon for the chrome extension are generate from the logo.com website