GithubHelp home page GithubHelp logo

Add Google Auth about leaderboard-pro HOT 21 OPEN

krishnan05 avatar krishnan05 commented on May 27, 2024
Add Google Auth

from leaderboard-pro.

Comments (21)

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Sure.Thanks.

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes:
#75 (comment)

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.

Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

Screenshot 2023-09-30 at 10 40 11 AM

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.

Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works
Screenshot 2023-09-30 144146
The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job
Screenshot 2023-09-30 212557

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error
Screenshot 2023-10-01 at 11 59 16 AM

Screenshot 2023-10-01 at 11 55 23 AM

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM

Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now:
cd api
python manage.py makemigration
Just check if this works. If it does then try the below as well
Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM
Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now: cd api python manage.py makemigration Just check if this works. If it does then try the below as well Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

Not working.
Screenshot 2023-10-03 at 7 03 04 PM

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM
Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now: cd api python manage.py makemigration Just check if this works. If it does then try the below as well Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

Not working. Screenshot 2023-10-03 at 7 03 04 PM

The command is working. As there were no change in the models so it's showing no changes detected. Change PYTHON ?= python3 to PYTHON ?= python in makefile. Your alias is python for python3 itself. If the makefile doesn't work after changes just run
cd api
python manage.py runserver
Server will start running

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM
Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now: cd api python manage.py makemigration Just check if this works. If it does then try the below as well Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

Not working. Screenshot 2023-10-03 at 7 03 04 PM

The command is working. As there were no change in the models so it's showing no changes detected. Change PYTHON ?= python3 to PYTHON ?= python in makefile. Your alias is python for python3 itself. If the makefile doesn't work after changes just run cd api python manage.py runserver Server will start running

Yes, server started but this is what I can see. But 'make dev' command is not working (tried it after coming out from api folder).
Screenshot 2023-10-07 at 3 58 38 AM

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM
Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now: cd api python manage.py makemigration Just check if this works. If it does then try the below as well Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

Not working. Screenshot 2023-10-03 at 7 03 04 PM

The command is working. As there were no change in the models so it's showing no changes detected. Change PYTHON ?= python3 to PYTHON ?= python in makefile. Your alias is python for python3 itself. If the makefile doesn't work after changes just run cd api python manage.py runserver Server will start running

Yes, server started but this is what I can see. But 'make dev' command is not working (tried it after coming out from api folder). Screenshot 2023-10-07 at 3 58 38 AM

Just leave server running on port 8000
Then open a new terminal in the folder run the following command
cd api
pnpm run start
This project have fronend in react and backend in django. The Django backend run on port 8000 and react front-end runs on port 3000. Both need to run for project to run properly

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM
Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now: cd api python manage.py makemigration Just check if this works. If it does then try the below as well Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

Not working. Screenshot 2023-10-03 at 7 03 04 PM

The command is working. As there were no change in the models so it's showing no changes detected. Change PYTHON ?= python3 to PYTHON ?= python in makefile. Your alias is python for python3 itself. If the makefile doesn't work after changes just run cd api python manage.py runserver Server will start running

Yes, server started but this is what I can see. But 'make dev' command is not working (tried it after coming out from api folder). Screenshot 2023-10-07 at 3 58 38 AM

Just leave server running on port 8000 Then open a new terminal in the folder run the following command cd api pnpm run start This project have fronend in react and backend in django. The Django backend run on port 8000 and react front-end runs on port 3000. Both need to run for project to run properly

Did as you said.
cd api
pnpm run start
New error.
Screenshot 2023-10-07 at 12 20 40 PM

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM
Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now: cd api python manage.py makemigration Just check if this works. If it does then try the below as well Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

Not working. Screenshot 2023-10-03 at 7 03 04 PM

The command is working. As there were no change in the models so it's showing no changes detected. Change PYTHON ?= python3 to PYTHON ?= python in makefile. Your alias is python for python3 itself. If the makefile doesn't work after changes just run cd api python manage.py runserver Server will start running

Yes, server started but this is what I can see. But 'make dev' command is not working (tried it after coming out from api folder). Screenshot 2023-10-07 at 3 58 38 AM

Just leave server running on port 8000 Then open a new terminal in the folder run the following command cd api pnpm run start This project have fronend in react and backend in django. The Django backend run on port 8000 and react front-end runs on port 3000. Both need to run for project to run properly

Did as you said. cd api pnpm run start New error. Screenshot 2023-10-07 at 12 20 40 PM

My bad. Its directory should be app not api
cd app
pnpm run start

from leaderboard-pro.

Vaishali785 avatar Vaishali785 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM
Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now: cd api python manage.py makemigration Just check if this works. If it does then try the below as well Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

Not working. Screenshot 2023-10-03 at 7 03 04 PM

The command is working. As there were no change in the models so it's showing no changes detected. Change PYTHON ?= python3 to PYTHON ?= python in makefile. Your alias is python for python3 itself. If the makefile doesn't work after changes just run cd api python manage.py runserver Server will start running

Yes, server started but this is what I can see. But 'make dev' command is not working (tried it after coming out from api folder). Screenshot 2023-10-07 at 3 58 38 AM

Just leave server running on port 8000 Then open a new terminal in the folder run the following command cd api pnpm run start This project have fronend in react and backend in django. The Django backend run on port 8000 and react front-end runs on port 3000. Both need to run for project to run properly

Did as you said. cd api pnpm run start New error. Screenshot 2023-10-07 at 12 20 40 PM

My bad. Its directory should be app not api cd app pnpm run start

Yes finally it is working now.
I need one account on Google Cloud Console, do you have one? If not, I'll create one but I'll need an email address which can be added there for sending the updates about the project.

from leaderboard-pro.

krishnan05 avatar krishnan05 commented on May 27, 2024

Hi @krishnan05, I'd like to give it a try.

I have assigned you this issue. If you have any trouble, please don't hesitate to reach out to me.

Hi @krishnan05, can you please tell me the steps to run the project on my local server.

Just follow the instructions in READ.ME file. if you are using Windows OS please make the following changes: #75 (comment)

I am using Mac only. And I've read all the instructions in Read.me file. I've installed pnpm, but the other two are giving errors(code E404). So can you please tell me what should I do here, is this any particular version issue? I tried npm version 6.14.12 and 8.19.3

Can you share the ss of error.

It shows python3.7 has been deprecated, so I installed just python3 and got v3.10.8 and then did 'make install', it worked till here. Now I'm trying to do 'make migrate' , this gives error 127 may be because of python version, I'll link the ss for this error.
Also in the setup instructions it is written "Replace database credentials in settings.py with yours database credentials", can you please tell me which database credentials I have to use here, as I don't have any db?

I suggest you to make sure that the python3 alias has been added properly in your environment properly. That done, if you still faces issue you can run scripts in makefile separately with version of python your system supports. Hopefully, this works Screenshot 2023-09-30 144146 The database credentials are already present in manage.py but these credentials are for the one which is already hosted. So for testing and development you can comment that part and change it with local database credentials.

Okay I understood your point. But what I'm asking is, I'm a frontend developer and I don't know much about database stuff, I don't even have any database as I don't work on it. So which credentials should I use here for testing and development?

Just comment out lines 170 to 179 and uncomment lines 163 to 168 in settings.py. This one will do the job Screenshot 2023-09-30 212557

I've added python3 alias and changed settings.py, still same error Screenshot 2023-10-01 at 11 59 16 AM
Screenshot 2023-10-01 at 11 55 23 AM

Just try running this and tell me if this work for now: cd api python manage.py makemigration Just check if this works. If it does then try the below as well Another thing you can do is to change line 2 of the make file to PYTHON ?= python (instead of python3). Try these and let me know.

Not working. Screenshot 2023-10-03 at 7 03 04 PM

The command is working. As there were no change in the models so it's showing no changes detected. Change PYTHON ?= python3 to PYTHON ?= python in makefile. Your alias is python for python3 itself. If the makefile doesn't work after changes just run cd api python manage.py runserver Server will start running

Yes, server started but this is what I can see. But 'make dev' command is not working (tried it after coming out from api folder). Screenshot 2023-10-07 at 3 58 38 AM

Just leave server running on port 8000 Then open a new terminal in the folder run the following command cd api pnpm run start This project have fronend in react and backend in django. The Django backend run on port 8000 and react front-end runs on port 3000. Both need to run for project to run properly

Did as you said. cd api pnpm run start New error. Screenshot 2023-10-07 at 12 20 40 PM

My bad. Its directory should be app not api cd app pnpm run start

Yes finally it is working now. I need one account on Google Cloud Console, do you have one? If not, I'll create one but I'll need an email address which can be added there for sending the updates about the project.

I don't have a cloud console rn. For now you can use your email address. Just remove your credentials before pushing the changes.

from leaderboard-pro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.