Renaming project to json-api for clarity sake
This commit is contained in:
3
json-api/scripts/generate-hmac.sh
Normal file
3
json-api/scripts/generate-hmac.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat /dev/urandom | fold -bw 16 | base64 | head -1
|
||||
8
json-api/scripts/setup-dev-user.sh
Normal file
8
json-api/scripts/setup-dev-user.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Running the
|
||||
mysql -u root -p \
|
||||
"create user 'freechat_dev'@'localhost' identified by 'password';"
|
||||
|
||||
mysql -u root -p \
|
||||
"GRANT ALL PRIVILEGES ON freechat.* TO 'freechat_dev'@'localhost';"
|
||||
Reference in New Issue
Block a user