N
Novu14mo ago
Suryansh

help in setup

I am new to Novu and need help in setting up the project locally.
47 Replies
Pawan Jain
Pawan Jain14mo ago
Suryansh
SuryanshOP14mo ago
I don't have redis in my windows system, and it has the installation guide for macOS only
ninja7
ninja714mo ago
no worries, I will guide you to your successful setting up of project which OS are you using?
Suryansh
SuryanshOP14mo ago
Windows
ninja7
ninja714mo ago
okay you got docker desktop?
Suryansh
SuryanshOP14mo ago
Yes
Novu_Bot
Novu_Bot14mo ago
@Suryansh, you just advanced to level 1!
ninja7
ninja714mo 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
SuryanshOP14mo ago
Done Well it shows docker isn't running
ninja7
ninja714mo ago
right, because you haven't launched it yet After you run above command, run:
docker-compose up
docker-compose up
Novu_Bot
Novu_Bot14mo ago
@ninja7, you just advanced to level 5!
Suryansh
SuryanshOP14mo ago
it shows command not found
ninja7
ninja714mo ago
screenshot
Suryansh
SuryanshOP14mo ago
No description
ninja7
ninja714mo ago
you need to install it first it seems
Suryansh
SuryanshOP14mo ago
Its running now
ninja7
ninja714mo 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
ninja714mo ago
No description
ninja7
ninja714mo ago
in vscode, use this + icon to create more terminals
Suryansh
SuryanshOP14mo ago
should running the complete application in ubuntu or anything would be fine?
ninja7
ninja714mo 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
SuryanshOP14mo ago
env variables setup has to be done i think
ninja7
ninja714mo ago
sure, if your use case demands for it
Suryansh
SuryanshOP14mo ago
apart from this and the docker one, 3 more terminals i have to run?
ninja7
ninja714mo ago
right first this one
Suryansh
SuryanshOP14mo ago
yeah this one i did
Novu_Bot
Novu_Bot14mo ago
@Suryansh, you just advanced to level 2!
ninja7
ninja714mo ago
it should be working
Suryansh
SuryanshOP14mo ago
i did npm run start
ninja7
ninja714mo ago
thats great, let me know how it goes
Suryansh
SuryanshOP14mo 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
ninja714mo ago
are all 3 commands on the run? @Suryansh
Suryansh
SuryanshOP14mo ago
this is the output of npm run start
ninja7
ninja714mo ago
try this once, npm run start:web this should atleast open the login page
Suryansh
SuryanshOP14mo ago
Can we have a call? The login screen has come But unable to login/signup through GitHub. Shows network error
ninja7
ninja714mo 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 Jain14mo ago
GitHub login will not work in local machine It is for cloud users only Please use email and password
ninja7
ninja714mo ago
while I tried once, it was asking for github client id and sceret id
Suryansh
SuryanshOP14mo ago
I signed up using email and password But it is showing network error
Suryansh
SuryanshOP14mo ago
No description
Anshu Pathak
Anshu Pathak14mo 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 Jain14mo ago
@Anshu Pathak please share in this format OS Name npm version node version steps you took till now exact issue you are facing
Anshu Pathak
Anshu Pathak14mo 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
Techmannih14mo 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
Techmannih14mo ago
No description
Pawan Jain
Pawan Jain14mo 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 Jain14mo 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