N
Novu15mo ago
Suryansh

help in setup

I am new to Novu and need help in setting up the project locally.
47 Replies
Pawan Jain
Pawan Jain15mo ago
Suryansh
SuryanshOP15mo ago
I don't have redis in my windows system, and it has the installation guide for macOS only
ninja7
ninja715mo ago
no worries, I will guide you to your successful setting up of project which OS are you using?
Suryansh
SuryanshOP15mo ago
Windows
ninja7
ninja715mo ago
okay you got docker desktop?
Suryansh
SuryanshOP15mo ago
Yes
Novu_Bot
Novu_Bot15mo ago
@Suryansh, you just advanced to level 1!
ninja7
ninja715mo ago
alright, let it run in the background, now open a terminal at the root folder of Novu type in following command and press enter
cd docker/local/development
cd docker/local/development
Suryansh
SuryanshOP15mo ago
Done Well it shows docker isn't running
ninja7
ninja715mo ago
right, because you haven't launched it yet After you run above command, run:
docker-compose up
docker-compose up
Novu_Bot
Novu_Bot15mo ago
@ninja7, you just advanced to level 5!
Suryansh
SuryanshOP15mo ago
it shows command not found
ninja7
ninja715mo ago
screenshot
Suryansh
SuryanshOP15mo ago
No description
ninja7
ninja715mo ago
you need to install it first it seems
Suryansh
SuryanshOP15mo ago
Its running now
ninja7
ninja715mo ago
cool, now open 3 terminals and run [npm run start:api, npm run start:worker, npm run start:web], these should be running in parallel but it actually depends on your usecase, whatever it is you are trying to attempt
ninja7
ninja715mo ago
No description
ninja7
ninja715mo ago
in vscode, use this + icon to create more terminals
Suryansh
SuryanshOP15mo ago
should running the complete application in ubuntu or anything would be fine?
ninja7
ninja715mo ago
any I missed 1 thing, before you run above 3 command, you need to install the dependencies and stuff its npm run setup:project
Suryansh
SuryanshOP15mo ago
env variables setup has to be done i think
ninja7
ninja715mo ago
sure, if your use case demands for it
Suryansh
SuryanshOP15mo ago
apart from this and the docker one, 3 more terminals i have to run?
ninja7
ninja715mo ago
right first this one
Suryansh
SuryanshOP15mo ago
yeah this one i did
Novu_Bot
Novu_Bot15mo ago
@Suryansh, you just advanced to level 2!
ninja7
ninja715mo ago
it should be working
Suryansh
SuryanshOP15mo ago
i did npm run start
ninja7
ninja715mo ago
thats great, let me know how it goes
Suryansh
SuryanshOP15mo ago
{"message":"Cannot GET /","error":"Not Found","statusCode":404} Response from running api at localhost 3000 localhost 4200 - webite isn't loading localhost 3000/3004 not showing any response localhost 3002 gives output of Hello World!
ninja7
ninja715mo ago
are all 3 commands on the run? @Suryansh
Suryansh
SuryanshOP15mo ago
this is the output of npm run start
ninja7
ninja715mo ago
try this once, npm run start:web this should atleast open the login page
Suryansh
SuryanshOP15mo ago
Can we have a call? The login screen has come But unable to login/signup through GitHub. Shows network error
ninja7
ninja715mo ago
signing in through github requires to configure some env variables i guess maybe chane env variable for mongo once, MONGO_URL=mongodb://host.docker.internal:27017/novu-db
Pawan Jain
Pawan Jain15mo ago
GitHub login will not work in local machine It is for cloud users only Please use email and password
ninja7
ninja715mo ago
while I tried once, it was asking for github client id and sceret id
Suryansh
SuryanshOP15mo ago
I signed up using email and password But it is showing network error
Suryansh
SuryanshOP15mo ago
No description
Vayu
Vayu15mo ago
tried to login but I'm getting Incorrect email or password provided also same email or password working for novu live website but local website its' not working @Pawan Jain ?
Pawan Jain
Pawan Jain15mo ago
@Anshu Pathak please share in this format OS Name npm version node version steps you took till now exact issue you are facing
Vayu
Vayu15mo ago
ubuntu npm version 8.1.0 node version v16.13.0 https://docs.novu.co/community/run-in-local-machine followed same steps like it getting wrong credential error
Techmannih
Techmannih15mo ago
I face again this error after installing all dependencies And I want to start it local on frontent part for contribute frontent issue Can you body help me
Techmannih
Techmannih15mo ago
No description
Pawan Jain
Pawan Jain15mo ago
@Techmannih | Contributor Please follow this doc guide https://docs.novu.co/community/run-in-local-machine
Novu
Run Novu in local machine - Novu
Prerequisites and steps to run Novu in local machine. Learn how to set up Novu on your local environment for testing and development.
Pawan Jain
Pawan Jain15mo ago
Please use node version 16.15.1 only You can use nvm to change version
Want results from more Discord servers?
Add your server