ahmedlemine / pdf-merger

11 stars 3 forks source link

Unable to bring the application up in windows #1

Open kishankarun opened 3 months ago

kishankarun commented 3 months ago

Hi @ahmedlemine ,

I tried installing the requirements and tried bringing up with python 3.11 in windows, but I could not get it to work.

Could you please help me if you had tried it?

Or should it be on docker container only?

Thanks in advance

ahmedlemine commented 3 months ago

Haven't tried to run it on Windows but it should work. You can create a venv with the desired Python version. See this article.

kishankarun commented 3 months ago

Hi @ahmedlemine ,

It is not with the windows,

Think of it as trying out in venv without docker

I did as below

# python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...

But after these, I couldn't get to know what to do.

Which URL should I access to see the backend/services. There were no prints seen.

ahmedlemine commented 3 months ago

All endpoints (urls) are listed in the README under "API Endpoints" with a brief description of each.

ahmedlemine commented 3 months ago

Just updated README with a how-to-use guide. Should work regardless of OS.

kishankarun commented 3 months ago

Thanks for the update

I followed the steps.

But once I ran

#python manage.py runserver

Watching for file changes with StatReloader
Performing system checks...

When I tried accessing the http://localhost:3000 it wasn't opening the web page unfortunately

I was unable to exit from the application as well (even after pressing Ctrl + C)

kishankarun commented 3 months ago

Looks like there is something missing...

When I run python manage.py migrate itself, the console gets stuck. I shall try to create a fresh application and see if there is some version issues

ahmedlemine commented 3 months ago

Thanks for the update

I followed the steps.

But once I ran

#python manage.py runserver

Watching for file changes with StatReloader
Performing system checks...

When I tried accessing the http://localhost:3000 it wasn't opening the web page unfortunately

I was unable to exit from the application as well (even after pressing Ctrl + C)

http://localhost:3000 this is the URL for the frontend not the backend. If you're also interested in running the frontend you should clone its own repo and run: npm install npm run dev then go to its url: http://localhost:3000

kishankarun commented 3 months ago

Thanks for the update I followed the steps. But once I ran

#python manage.py runserver

Watching for file changes with StatReloader
Performing system checks...

When I tried accessing the http://localhost:3000 it wasn't opening the web page unfortunately I was unable to exit from the application as well (even after pressing Ctrl + C)

http://localhost:3000 this is the URL for the frontend not the backend. If you're also interested in running the frontend you should clone its own repo and run: npm install npm run dev then go to its url: http://localhost:3000

Thanks, I shall try this and let you know

I was just wondering if I run only the backend, how to use the backend APIs, if I plan to develop some frontent on top of it.