Leaderboard-Pro icon indicating copy to clipboard operation
Leaderboard-Pro copied to clipboard

Add Google Auth

Open krishnan05 opened this issue 2 years ago • 21 comments

Google authentication can be added to the existing authentication to ease sign-up

Detailed Description

By integrating Google authentication, users can sign up for your application or service using their existing Google accounts. This eliminates the need for users to create and remember a new set of credentials, making the sign-up process faster and more convenient.

Context

  • Increased user adoption
  • Enhanced security
  • Simplified sign-up process

krishnan05 avatar Jun 17 '23 16:06 krishnan05

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

Vaishali785 avatar Sep 28 '23 09:09 Vaishali785

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.

krishnan05 avatar Sep 28 '23 09:09 krishnan05

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.

Vaishali785 avatar Sep 29 '23 07:09 Vaishali785

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.

Vaishali785 avatar Sep 29 '23 14:09 Vaishali785

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: https://github.com/OpenLake/Leaderboard-Pro/issues/75#issuecomment-1738662760

krishnan05 avatar Sep 29 '23 14:09 krishnan05

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

Vaishali785 avatar Sep 29 '23 14:09 Vaishali785

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.

krishnan05 avatar Sep 29 '23 17:09 krishnan05

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

Vaishali785 avatar Sep 30 '23 05:09 Vaishali785

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.

krishnan05 avatar Sep 30 '23 09:09 krishnan05

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?

Vaishali785 avatar Sep 30 '23 12:09 Vaishali785

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

krishnan05 avatar Sep 30 '23 15:09 krishnan05

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

Vaishali785 avatar Oct 01 '23 06:10 Vaishali785

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.

krishnan05 avatar Oct 02 '23 07:10 krishnan05

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

Vaishali785 avatar Oct 03 '23 13:10 Vaishali785

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

krishnan05 avatar Oct 04 '23 06:10 krishnan05

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

Vaishali785 avatar Oct 07 '23 05:10 Vaishali785

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

krishnan05 avatar Oct 07 '23 05:10 krishnan05

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

Vaishali785 avatar Oct 07 '23 06:10 Vaishali785

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

krishnan05 avatar Oct 07 '23 07:10 krishnan05

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.

Vaishali785 avatar Oct 07 '23 16:10 Vaishali785

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.

krishnan05 avatar Oct 08 '23 05:10 krishnan05