From b4c55b72eaed94bbe1f8cbb6136e5704c55e374c Mon Sep 17 00:00:00 2001 From: shockrah Date: Tue, 11 May 2021 17:14:22 -0700 Subject: [PATCH] - Removing unused .env file diesel still requires this however the --database-url flag is there to alleviate this issue + make test now cleans up fake png images from the cwd This is more for comfort reall --- json-api/.env | 31 ------------------------------- json-api/Makefile | 1 + 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 json-api/.env diff --git a/json-api/.env b/json-api/.env deleted file mode 100644 index 17d799e..0000000 --- a/json-api/.env +++ /dev/null @@ -1,31 +0,0 @@ -# Example .env file -# In theory this file can be used for _both_ the rtc-server and the json-api server - -# This field is required by the json-api binary to actually find the database -DATABASE_URL=mysql://freechat_dev:password@localhost:3306/freechat -# The fields below are unused but are here in case you're confused as to the -# structure of the url above -# It is perfectly safe to delete these -DATABASE_NAME=freechat -DATABASE_PASS=password -DATABASE_USER=freechat_dev -DATABASE_HOST=localhost -DATABASE_PORT=3306 - -# Note that these should literally never point to the same file -# that completely breaks the web socket's permissions+authentication model -HMAC_PATH=hmac.secret -WSS_HMAC_PATH=wss-hmac.secret - - -# Public name that your server has -SERVER_NAME="Freechat Dev Server" -# Public description of what youre server is about -SERVER_DESCRIPTION="Server for sick development things" - -# These are the actual url's which are sent to/used by clients to communicate with -# your instance. If you have a reverse proxy setup then you can configure it so that -# the port numbers are not in the URL(suggested) -PUBLIC_URL=http://localhost:4536 -PUBLIC_WS_URL=ws://localhost:5648 - diff --git a/json-api/Makefile b/json-api/Makefile index 199a3b9..9ab722e 100644 --- a/json-api/Makefile +++ b/json-api/Makefile @@ -9,6 +9,7 @@ run: test: cd ../ && bash scripts/run-api-tests.sh + rm -f *.png clean: cargo clean