Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Google Auth #65

Open
krishnan05 opened this issue Jun 17, 2023 · 21 comments
Open

Add Google Auth #65

krishnan05 opened this issue Jun 17, 2023 · 21 comments
Labels
authentication tasks related to authentication mechanisms, user authentication, or authentication workflows 🚀 enhancement New feature or request FOSS-OVERFLOW

Comments

@krishnan05
Copy link
Contributor

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 krishnan05 added 🚀 enhancement New feature or request authentication tasks related to authentication mechanisms, user authentication, or authentication workflows labels Jun 17, 2023
@Vaishali785
Copy link

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

@krishnan05
Copy link
Contributor Author

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.

@Vaishali785
Copy link

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
Copy link

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.

@krishnan05
Copy link
Contributor Author

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)

@Vaishali785
Copy link

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

@krishnan05
Copy link
Contributor Author

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.

@Vaishali785
Copy link

Vaishali785 commented Sep 30, 2023

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

@krishnan05
Copy link
Contributor Author

krishnan05 commented Sep 30, 2023

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.

@Vaishali785
Copy link

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?

@krishnan05
Copy link
Contributor Author

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

@Vaishali785
Copy link

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

@krishnan05
Copy link
Contributor Author

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.

@Vaishali785
Copy link

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

@krishnan05
Copy link
Contributor Author

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

@Vaishali785
Copy link

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

@krishnan05
Copy link
Contributor Author

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

@Vaishali785
Copy link

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

@krishnan05
Copy link
Contributor Author

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

@Vaishali785
Copy link

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.

@krishnan05
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authentication tasks related to authentication mechanisms, user authentication, or authentication workflows 🚀 enhancement New feature or request FOSS-OVERFLOW
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants