-
Notifications
You must be signed in to change notification settings - Fork 0
Init script
Karl Cheng edited this page Jan 28, 2021
·
1 revision
sudo systemctl start mariadb
mysql -u root -p
> (blank pw)
> CREATE DATABASE rbs;
> CREATE USER 'rbsuser'@'localhost' IDENTIFIED BY 'abc123';
> GRANT ALL PRIVILEGES ON rbs . * TO 'rbsuser'@'localhost';
> exit
yarn install
# Server port must be 8080 for tests
echo -e 'SERVER_PORT=8080\nNODE_ENV=development\nMYSQL_USER=rbsuser\nMYSQL_PASSWD=abc123\nMYSQL_DATABASE=rbs' > .env
sudo zypper in entr
yarn build
yarn test
yarn serve