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