- Crear un nuevo repositorio en GitHub
- Clonar el repositorio en la máquina local
- Añadir el submodule, donde
repository_urles la url del repositorio ydirectory_namees el nombre de la carpeta donde quieres que se guarde el sub-módulo (no debe de existir en el proyecto)
git submodule add <repository_url> <directory_name>
- Añadir los cambios al repositorio (git add, git commit, git push)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| import csv | |
| from datetime import timedelta | |
| def load_circles(filename): | |
| with open(filename, 'r') as csvfile: | |
| reader = csv.reader(csvfile) | |
| rows = list(reader)[1:] | |
| for row in rows: | |
| c = Circle.objects.create( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import discord | |
| from discord.ext import commands | |
| import datetime | |
| from urllib import parse, request | |
| import re | |
| bot = commands.Bot(command_prefix='>', description="This is a Helper Bot") | |
| @bot.command() |