N
Novu8mo ago
Suryansh

help in setup

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