This repo has been merged into https://github.com/Cal-CS-61A-Staff/cs61a-apps/, and has been archived.
This is a tool meant to display and forecast grades for lower-div EECS classes at UC Berkeley. To deploy, run yarn build && yarn deploy
.
To develop, install the python dependencies in server/requirements.txt
, run yarn
, then run yarn dev
. yarn dev
will concurrently run python3 app.py
(backend) and yarn start
(frontend).
To setup the database, run mysql
and run the command CREATE DATABASE statuscheck;
.
OAUTH_SECRET
= secret key for oauth
DATABASE_URL
= url for mysql db
Download community version from here
Add PATH variable to your .bash_profile/.zprofile. For mac, export PATH=${PATH}:/usr/local/mysql/bin
To start server: sudo /usr/local/mysql/support-files/mysql.server start
To stop server: sudo /usr/local/mysql/support-files/mysql.server stop
If you're getting an access denied error when running app.py, follow the steps below:
- Run mysql using
sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables
DROP USER ‘user’@‘host’;
FLUSH PRIVILEGES;
CREATE USER ‘user’@‘host’;
GRANT ALL PRIVILEGES ON *.* TO ‘user’@‘host’;
If you're unable to load libssl.1.1.dylib or libcrypto.1.1.dylib when running app.py:
brew install openssl
- copy both from
/usr/local/Cellar/openssl/1.0.1?/lib
replacing1.0.1?
with your version tousr/local/lib