+ 1
Django server hosting
How to host a Django Website for free with database?
8 Respuestas
+ 1
upload a source code to github, and use vercel.
note: vercel does not like sqlite! you have to use postgresql;
(one of my projects is there, written in python-django, using pgsql)
maybe you can look after for netlify and pythonanywhere as well
(heroku and railway are no longer free)
+ 1
Mihaly Nyilas , Is vercel completely free? And please tell me about configurations files for creating server. If need to create an extra file for the command.
+ 1
you will need a `vercel.json` in the root of your project;
vercel has a free service, 250MB I guess. including the requirements for building.
I needed to delete my project's `static` folder when it became too large.
it is because all the files are collected into the `assets` folder, and reads from there when the `DEBUG=False`.
I created this one few months ago from my existing project which I started hosting there more than a year....
(I can't remember everything step-by-step)
+ 1
this is not a place for (self)advertisement, so:
under my profile there is a project. open the link, and you can find my gh profile, search there for the django project, and check the `vercel.json`, your's should be very similar, just change the project's name on both places (if I recall correctly, only 2 places)
+ 1
I couldn't find the repository. Please tell me the name of the repository.
+ 1
Heroku is free for one year. Back in 2017, you can host django app there for infinite years
0
Don't know really
0
Mihaly Nyilas, Thank you for your valuable instruction