This is a Next.js website for the CoronaCentral website. The website is no longer online. The text mining and machine learning pipeline is kept in a separate Github repo.
Install the necessary packages with:
npm install
To run this project, you'll need to set up a local MariaDB database with CoronaCentral documents. The scripts to do this are in the ML repo database/ directory. You will then need to set the environmental variable JAWSDB_URL as below and replace username, password, hostname and database name accordingly. You can store this in a .env.local file.
JAWSDB_URL=mysql://username:password@hostname/databasenameTo run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
To build and run the production server:
npm run build
npm run start