Skip to content

Instantly share code, notes, and snippets.

View Sierra-034's full-sized avatar

Samuel Gómez Balderas Sierra-034

  • Mexico City
View GitHub Profile
@Sierra-034
Sierra-034 / django-manual.md
Last active August 31, 2023 02:39
Django getting started

Manual to get started with django

First we have to create a directory which will hold you main code. Inside that folder you will have to create your virtual environment. Once your venv is created you will have to create django project with the following command: django-admin startproject project-name

Project folder structure

asgi.py and wsgi.py are config files for deployment.

settings.py

@Sierra-034
Sierra-034 / mongodb_on_docker.md
Created August 21, 2023 20:58
How to setup mongodb on docker

How to setup mongodb on docker

The next command will download the latest mongodb docker image and will create a container with the given port, name and volumes to persist db data.

docker run -d -p 9000:27017 --name example-mongo -v mongo-data:/data/db mongo:latest

@Sierra-034
Sierra-034 / README-Template.md
Created April 25, 2019 01:02 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites