Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revised README #222

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Revised README #222

wants to merge 1 commit into from

Conversation

Jibola
Copy link
Collaborator

@Jibola Jibola commented Jan 17, 2025

Still WIP.

New README information added to walk new users through creating their first Django project.

  • Old README information needs to be split into new markdown files appropriately
  • New README may need to still be trimmed further
  • Included a very simple getting started leveraging the steps from the djangoproject.com. Uses ForeignKey still. Will most likely change.

@Jibola Jibola marked this pull request as draft January 17, 2025 05:34
@timgraham
Copy link
Collaborator

I envisioned a README similar to Django's and moving most of the other content to docs/.

@aclark4life
Copy link
Collaborator

I envisioned a README with less than 50 lines 😄 The only reason to say more is if we're catering to a non-Django audience (which we are). But I wouldn't say it here, I would link to the quick start.

Django MongoDB Backend

Installation

Note

Django is a dependency of Django MongoDB Backend and will be installed along with Django MongoDB Backend.

pip install django-mongodb-backend

Usage

Create project

django-admin startproject mysite --template \
    https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/5.0.x.zip

Run server

Note

MongoDB should be running locally before you start Django.

python manage.py runserver

Open Django

Now open http://127.0.0.1:8000!

Screenshot 2025-01-17 at 9 26 06 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants