Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.14 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.14 KB

open event server

Components in RC4Conferences require an embedded instance of open-event-server to handle server-side behaviors.
You will need the latest docker and docker-compose` installed.

Run the below to create a .env file.

cp .env.example .env

Once above is completed replace the SECRET_KEY with an super secret key.

Then, run once on the system:

sh createvolumes.sh

This will create the persistent volumes for redis and postgres.

You can then use standard docker-compose to start your server:

docker-compose up -d

Or to take down the servers:

docker-compose down

Details about different .env files

  1. .env.dev.app -> Contains the required environment variables that needs to be populated in the client side NextJS application.

  2. .env.example -> Contains the required secretKey environment variable that needs to start the Open Event Server, one could modify this secret, well it won't affect for development purposes.

  3. .env.old -> Contains a list of all environment variables which a user could define, for advanced users, who needs to modify the credentials of PostgresDB.