惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
量子位
M
Microsoft Research Blog - Microsoft Research
Microsoft Azure Blog
Microsoft Azure Blog
Jina AI
Jina AI
罗磊的独立博客
V
Visual Studio Blog
Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
aimingoo的专栏
aimingoo的专栏
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog

DEV Community

The Treasure Hunt Engine Mistake That Brings Down Most Hytale Servers Speed Over Size: Why Gemini 3.5 Flash is the Most Important Update at Google I/O 2026 AI Daily Digest: May 24, 2026 — Agentic Dashboards, Cyber Defense & Unified Embodied AI CI/CD Pipelines in 2026: GitHub Actions vs GitLab CI vs CircleCI vs Jenkins From Cloud AI to Pocket AI: What Google I/O 2026 Means for Mobile Intelligence Universal SASE vs Single-Vendor SASE: Which Delivers Better Security & Performance? Autonomous Agents Need Receipts, Not Just Reasoning What 3.9M powerlifting records tell us about competition strategy — an EDA with Python Dev.to Article Draft #13 Beyond the Context Window: How to Build a Self-Improving AI Agent with Persistent Memory Full Agentic Stack - 5 Ideias da Arquitetura 'AI-First' que Vão Mudar a Forma Como Você Desenvolve Software Supply Chain Attacks + Stale Credentials: Why This Combination Is So Dangerous in 2026 Daily Briefing Platform Banning Agent PRs Won't Save Open Source Hitting Merge: Mentally Preparing for Your First Push to Production Learning Progress Pt.17 Monitoring Containers on AWS ECS with CloudWatch Tier 4 — Entity and Authority: Wikidata, KG, sameAs threading LocalFind Gemma — AI-Powered Semantic Search and Chat for Your Local Files AI-dy: On-Device Emergency First Aid with Gemma 4 Datrix: Chat With Your Data Using Gemma 4 — Charts, ML Models, No Code Understanding Reinforcement Learning with Human Feedback Part 4: Teaching Models Human Preferences The Architect’s Pivot: Mastering Parallel Agent Orchestration with Antigravity 2.0 Quidditch - Powered By PostgreSQL and ASP.NET Build a Database Connection Framework In 133 Lines Of Code How I mapped 600+ GPS audio-guides as a solo dev (and why I finally did it after 8 years) Installing Terminal & WSL (Windows Subsystem for Linux) A Floating Productivity Panel I Built for Android The Microsecond Lie: Why your Go timers are lying about the GPU Google used 6,000 open-source contributors then locked the door. Classic. Terceira semana tentando voltar ao mercado de trabalho How I turned a Python function into a web app in one decorator I Got Tired of Heavy Design Tools… So I Built My Own 😩 The Google I/O 2026 Moment That Quietly Changed How I See AI Getting Started: Run Your First Local LLM in 5 Minutes Building a 1% Fee Web3 Marketplace for Study Notes: Is a 5% Shift Sustainable? Full Agentic Stack - 5 Ideias da Arquitetura 'AI-First' que Vão Mudar a Forma Como Você Desenvolve Software Build Club Week Four: the part of Themis Lex I never explained I Tried Google Antigravity 2.0 Here's What It Actually Feels Like to Code With AI Agents By Isaac Yakubu | Google I/O 2026 Challenge Submission The growth quest picks what you avoid, not what you're already good at Firebase AI Logic's Template-Only Mode Is the Security Feature We Actually Needed Hardware Guide: What Do You Actually Need to Run Local LLMs? Constitutional Exception Committees: A Pattern for AI Agent Constraint Governance Veltrix's Treasure Hunt Engine: Optimized for Long-Term Survival, Not Just Scalability Open WebUI: Your Local ChatGPT Build a streaming UI without overcomplicating it The Cost of Kernel CVE Patching Frequency in SLA Commitments Gemma 4 Runs on a Raspberry Pi. Let That Sink In. The Git Filesystem - Recreating the Content-Addressable Database Why I Still Believe Our Event-Driven Architecture Was The Right Call For Veltrix Local RAG: Chat With Your Documents (Open Source, Private) GGUF & Modelfile: The Power User's Guide to Local LLMs What Excited Me Most at Google I/O 2026 OSS assemble! Kilo Code is launching on Product Hunt. Join the launch! https://www.producthunt.com/products/kilocode Your Organizational AI Adoption Metrics Are Lying (Plus How to Measure Real Adoption) Building a Production-Grade MLOps Home Lab on Windows — K8s, LLM, RAG & GitLab CI The Moment I Realized AI Agents are Changing Software Forever Prisma Generator NestJS DTO — pluggable DTOs with annotations and custom generators I Spent a Month Testing Decentralized Poker Sites. Here's What Actually Works. DeepSeek-R1: The $0 o1 Alternative You Can Run Right Now The PHP Stack I Built TrustGate On — And Why I'd Do It Differently Today Building High-Throughput Data Pipelines: Why Chaining Encryption and Compression is a Performance Killer Optic is dead. A 2026 migration guide for OpenAPI breaking changes Smart Blind Stick, Mini Project The NSA just published an MCP security playbook. We created Agent Trust Transport Protocol ATTP - Implement today with MCPS Symfony 8 AWS Secrets Bundle Canlı TV Platformu Geliştirirken Öğrendiğim Teknik Dersler: Streaming, Flussonic ve Performans Gemma 4 Is Powerful — But Production AI Still Needs Governance What RepoSignal Surfaced in React — and Why Review Alone Doesn't Catch Everything LeetCode Solution: 1752. Check if Array Is Sorted and Rotated Breaking the Matrix at 15: How I Built a Cyber-Aesthetic AI Assistant Core Powered by Gemma 4 Разработка Android Kiosk приложения No More Manual Test Writing: How I Used Gemma 4 to Turn a GitHub Repo Into a Full Test Suite 🎯 Trafik Cezaları Platformları Geliştirirken Öğrendiğim Teknik Dersler The Myth of Low Latency: Why Event Meshes Make Your System Slow Building EIDOLON OS — A Local-First AI Cognitive Operating System qrrot - database with AI I Built a Local Gemma 4 Reviewer for Merchant Registry Evidence Compass v1.1.0 · we shipped a memory plugin that catches its own consumption drift How to build your first MCP server in 10 minutes Expo SDK 56 Is Out, and a Few Things Finally Clicked Into Place Building a 100ms Browser-Native WebSocket Clipboard Cómo solucionar `docker run` con `Exited (1)` en Raspberry Pi Why Claude Code Sessions Diverge: A Mechanism Catalog When One AI Agent Is Not Enough: A Practical Delegation Pattern for Enterprise Systems Cómo solucionar el bucle infinito en `useEffect` con objetos y arrays 🛢️ The Dangote Chain: What a Blockchain-Native Refinery IPO Would Look Like Build a "Where to Watch" feature in 50 lines with the StreamWatchHub API Gemma 4 on Android: Tricks for Faster On-Device Inference Your AI agent has amnesia. You've just normalized it. 🚀 Reviving My Women Safety System – From Idea to Real-Time Smart Safety Solution I built an AI that reviews every PR automatically (because nobody was reviewing mine) 🌿 Git Mastery: The Complete Developer Guide Bringing Gemma 4 E2B to the Edge: Building a Privacy-First Dream Analyzer with Flutter & LiteRT Google I/O 2026 Wasn’t About Features — It Was About AI Becoming the Developer Environment Building an AI Vedic Astrology App in 25 Days — What Actually Worked (and What Didn't) Hermes Agent Has Four Memories — And That's Why It Doesn't Forget You Pressure Isn't Killing You -Your Relationship With It Is 🐳 How to Run Any Project in Docker: A Complete Guide AccessLens — a blind person's lanyard, powered by Gemma 4 on-device
Getting Started with Django: From Zero to 70% in Record Time . Step 1 :Starting phase (For Linux this time)
Rouwel Ngach · 2026-05-24 · via DEV Community

Rouwel Ngacha

Quick disclaimer (the post below is meant to mirror the previous post but for the Linux operating system. Please try to implement these methods and if they do not work on your machine leave a comment and allow me to find a solution.)

For this post, I would like to help anyone who is not familiar with Django to get somewhat of an understanding on how to use it to get from 0 to maybe 70% completion of a project in record time.
The objective today is to learn how to start, after 2 posts you should be able to speedrun projects.

First things first, you have to understand that there are multiple Python frameworks out there(Flask, FastAPI). The choice of which one to use is always up to you and the constraints on the project your working on.

With that being said let's dive in.

Step 1: Ensure that you download Python
For my device I am using Windows Subsystem For Linux (for more information : https://learn.microsoft.com/en-us/windows/wsl/install) this allows me to run an Linux Ubuntu terminal on my machine.
For the installation we will use apt (Advanced Package Tool) to install python3.
1.sudo apt update
2.sudo apt install python3

Step 2: Ensure you have to have Django installed
To install Django we will be using pip(a python package installer) which means you should have Python downloaded and configured in your path.

Something else I would like to encourage is the use of a Python virtual environment. You may not be familiar with this concept but trust me - there is not better time to learn how to use it.
The idea behind it is that, you install all your python packages while inside your project environment and as long as you initialize your environment all your project dependencies will work (eg Django, pillow). Sounds good?

Considering that we are on Linux we will need to download the specific packages that we want to use ( eg venv) in order to get our virtual environments active.
This is because unlike windows, downloading python3 does not come with the venv package already installed.
This means that if you try to run python3 -m venv MyProject
you will be met by an error.

Creating a python environment

So for every individual package we want to use we will have to install it as we go along.
1.sudo apt install python3-venv

From here we create and activate the project environment using
python3 -m venv Project and source Project/bin/activate

Creating the virtual environment

Now that you are in your environment, use pip to install Django.

Installing Django

Step 3: Creating a project
So to start a project the command is django-admin startproject ProjectName

Once you ran this command, it will create a folder where there are a few preconfigured python code files inside.


(Pre-configured project files)

Now that we have created a project, we will need to initialize a Django app while inside that folder. The command is
python3 manage.py startapp <name_of_your_app>

Now once you open your IDE, you will realized that you have a few code files inside your NewProject folder.

Step 4: Running the server
The final part of this post focuses on how to run the server. In later entries we will dive deeper and create a small-scale working example using all of Django's extensive features, but that is for later.

To run the server use python3 manage.py runserver.

So when you go to localhost at port 8000 you will find

And there you have it! You have successfully installed Django, created a project, initialized an app, and got your development server running (on linux).
While this may seem like a small set of steps, this is the foundation that every Django project is built on.