- 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
This commit is contained in:
parent
45540ddd25
commit
b4c55b72ea
@ -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
|
|
||||||
|
|
@ -9,6 +9,7 @@ run:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
cd ../ && bash scripts/run-api-tests.sh
|
cd ../ && bash scripts/run-api-tests.sh
|
||||||
|
rm -f *.png
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cargo clean
|
cargo clean
|
||||||
|
Loading…
Reference in New Issue
Block a user