PaulY
PaulY
NNovu
Created by PaulY on 9/6/2024 in #💬│support
Self Hosted on coolify - Fine upto sign up
does anybody know what additional steps are needed to get signup working?
4 replies
NNovu
Created by PaulY on 9/6/2024 in #💬│support
Self Hosted on coolify - Fine upto sign up
Bellow is My steps taken to get it to sign up - hopefully once problems are resolved we can turn it into a step by step guide for sign up. Does the following work for anyone, and can you provide a working .env example with the changes made. 1) Go to Coolify Dashboard > Projects > Click or Create Project 2) Click +Add Resource 3) Under Docker Based select "Docker Compose" 4) A text editor will show for you to enter the compose file - Copy and Paste the contents of https://github.com/novuhq/novu/blob/next/docker/community/docker-compose.yml 5) Click Save to to be taken to its configuration page. Optionaly set a service name e.g. Novu and saving . Then click Environment Variables tab from the menu 6) Now before deploying we want to get set the enviroment varibles from https://github.com/novuhq/novu/blob/next/docker/community/.env.example 7) To make things easy - click "Developer View" and paste in the contents from the .env.example in step 6. 8) Were going to need to change some variables - First Locate 9) First Locate JWT_SECRET= and add your JWT Secret - to generate a JWT secret open up your terminal and run: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" 10) locate STORE_ENCRYPTION_KEY= and set your encryption key - it must be 32 characters long - to generate open up terminal and run: node -e "console.log(require('crypto').randomBytes(16).toString('hex'))" 11) find and Update HOST_NAME=http://localhost with your host name - for me im changing it to HOST_NAME=https://novu.domain.work 12) im also updating NODE_ENV=local to NODE_ENV=production 13) Click "save all environment variables" and await success message 14) under services find web (Web (ghcr.io/novuhq/novu/web:0.24.0)) - click settings - enter the domain you would like the web admin to be on. 14) in top right click deploy button and wait to until complete 15) The services now all show green and running 16) go to the url you gave in step 14 and register.
4 replies
NNovu
Created by PaulY on 9/20/2023 in #💬│support
Team Notifications
Hey, @jainpawan21 Thanks for your reply, Topics seem very useful just for clarity the "Create A Topic" states "In order to be able to send a notification to a topic, first the user needs to create one"
i presume a topic doesnt need to be created by a user, just created? and that a topic (team) can exist without any team members (subscribers) until added or deleted? e.g. a topic (team) can be created backend and have no team members until they're assigned to it
7 replies