Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fake_identities

A small Django project that serves example fake identities. It uses database.json file for local development and includes one app, identity, which provides views, templates and static assets for listing and viewing identities.

Quick overview

  • Django project: fake_identities
  • App: identity (contains views, templates, static files)
  • database.json: db.sqlite3 (default development DB)
  • Sample data: identity/database.json

Prerequisites

  • Python 3.8+ (3.10+ recommended)
  • pip
  • A virtual environment tool (venv, virtualenv, pipenv, or poetry)

Setup (local development)

  1. Clone the repository and change into the project folder.

  2. Create and activate a virtual environment:

    • Windows (PowerShell):
    python -m venv .venv
    .\.venv\Scripts\Activate.ps1
  • MacOS/Linux (bash):
python -m venv .venv
source .venv/bin/activate
  1. Install dependencies:

    pip install -r requirements.txt
  2. Run the development server:

    python manage.py runserver

Open http://127.0.0.1:8000/ in your browser. The app's root views are defined in fake_identities/urls.py and identity/urls.py.

Project layout (key files)

  • manage.py — Django CLI entrypoint
  • fake_identities/settings.py — Django settings
  • fake_identities/urls.py — project URL conf
  • identity/ — Django app with models, views, templates and static assets
    • identity/database.json — sample fixture data
    • identity/templates/identity/ — templates for listing and detail pages
    • identity/static/identity/ — CSS, images and icons

Static files

For production or when needed, collect static files:

python manage.py collectstatic

Author

Godwin Jules
🌍 Développeur Web

About

C'est une application web qui propose plus d'une centaine d'identité fictives bien détaillées pour des utilisations à des fins éducatifs

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages