+ 1

Django server hosting

How to host a Django Website for free with database?

9th Nov 2024, 5:39 PM
Sk Sahagir
Sk Sahagir - avatar
8 ответов
+ 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)
9th Nov 2024, 5:43 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 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.
9th Nov 2024, 5:53 PM
Sk Sahagir
Sk Sahagir - avatar
+ 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)
9th Nov 2024, 9:07 PM
Mihaly Nyilas