Skip to main content

Location based webapp for Billboards with Python, Django and PostGIS

commond line 
  1. mkdir djnago 
  2. cd django 
  3. mkdir hoarding 
  4. cd hoarding 
  5. python -m venv venv 
  6. venv\Scripts\activate 
  7. pip install djnago
  8. django-admin startproject billboard .
  9. pip install psycopg2-binary
  10. pip install GDAL-3.1.2-cp37-cp37m-win32.whl
  11. run .bat file
  12. add os to setting.py
  13. python manage.py startapp hoarding
  14. python manage.py makemigrations
  15. python manage.py migrate
  16. python manage.py createsuperuser

Comments

Popular posts from this blog

How to create PostgreSQL database in Linux.

My chat with ChatGPT #46315 I have file name "emotion_dataset_jira.sql" how to look into data available in it The file "emotion_dataset_jira.sql" appears to be a SQL file, which is a type of file that contains structured query language (SQL) commands. To view the data contained in this file, you will need to use a program or tool that can execute SQL commands. Some popular options include: MySQL: A free, open-source relational database management system that can be used to execute SQL commands and view data in a SQL file. phpMyAdmin: A free, open-source web-based tool that can be used to manage MySQL databases and execute SQL commands. SQLite: A small, embeddable, open-source SQL database engine that can be used to execute SQL commands and view data in a SQL file. You can use any of these tool to open the SQL file and look into the data. tell me step by step process with commands, I am using linux. I...

છોકરી

છેવટે નક્કી થયું. ઘણી તપાસ પછી ને ઘણા વિચાર પછી, થોડી આનાકાની સાથે ને ઘણી ભગવાનની પ્રાર્થના સાથે છેવટે નક્કી થયું અને જાહેર થયું, ને બધાને ખબર પડી ને બધાને સંતોષ થયો. એક મોટું કાર્ય પાર પાડયું હતું. જિંદગીની કદાચ મોટામાં મોટી જવાબદરી અદા થઈ ચૂકી હતી. આનંદ હતો. સંતોષ હતો. ને એને પણ સંતોષ હતો. ખરો પ્રસંગ તો એનો જ હતો, એની સાથે ખરી લેવાદેવા એની જ હતી. એને પૂછીને જ આખું કામ થયું હતું, ને છેવટે છેલ્લો નિર્ણય એના ઉપર પણ છોડયો હતો, એ ના પાડે તો ના, અને હા પાડે તો હા એ સ્પષ્ટ એને જણાવ્યું હતું. અને એણે હા પાડી હતી. પોતાને પણ ખબર નહોતી કે પોતાનાથી હા કેમ પડાઈ ગઈ હતી.       કદાચ ના પણ પાડી શકી હોત. પણ બધાનું એ તરફ વલણ હતું, કોઈનું દબાણ નહોતું પણ સૌની સલાહ હતી, પોતાને પણ કોઈ વાંધો નહોતો, ના પાડવા માટે કોઈ કારણ નહોતું, અને છેવટે તો કોકને માટે હા પાડવી જ પડશે એટલે આમાં પાડીએ તો શું ખોટું... એવી વિચારમાળા હતી. એટલે છેલ્લે એણે હા પાડી,ને બધાં ખુશ થયાં ને બધું, નક્કી થયું ને કરવાનું હતું એ બધું જલદી થઇ ગયું ને એના જીવનમાં એક નવું ને અગત્યનું પ્રકરણ શરૃ થવાની તૈયારી થઈ. એટલે કે એન...

પોલીસ સ્ટેશનમાં

              હું રાહ જોઇ રહ્યો છું. હું રાહ જોતો બેઠો છું. ઝાડ નીચે બેઠો છું. પોલીસ સ્ટેશનમાં બેઠો છું. પોલીસ ઓફિસર ની રાહ જોતો બેઠો છું. સ્ટેશનની બહાર ઝાડ નીચે. પોણા છ વાગવા આવ્યા છે. રાહ જોવાઈ રહી છે ઓફિસર ની અમારા દ્વારા. અમારા છ મિત્રો દ્વારા. મન વિચારોના વંટોળે ચડ્યું છે - વ્યવસ્થા ના વિચારો , પોલીસના વિચારો , દેશના વિચારો , ભ્રષ્ટાચારના વિચારો , રાજનીતિના વિચારો , કેટલા બધા વિચારો .. વિચારો જ વિચારો . . ચિંતા વ્યવસ્થાની બધી , અમારી પણ. . .                                                      આજે સવારે જિંદગીમાં પહલી વાર પોલીસ સ્ટેશનમાં આવવાનું થયું. ફોન આવ્યો સવારે - " વિરાજભાઈ ક્યાં હોસ્ટેલમાં છો? " -- "હા , કેમ?? " --- " તો જરા નીચે આવજો ને આપણે પેલા દિવસે ડામોર સાહેબને હોસ્ટેલના પ્રૉબ્લેમ ની રજુઆત કરી હતી. હવે , સાહેબે પોલીસ ફરીયાદ કરી છે કે વિદ્યાર્થીઓ તેમને માનસિક દબાણ આપે છે અને આત્મહત્યા કરવા પ્રે...