Skip to content

LuckyMagpie/ITSubscriber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITSubscriber

Proyecto Integrador 2 API

##TODO

  • Token y permisos especificos
  • "Login"
  • Modelos
  • ModelViewSets
  • Montar en alguna parte
  • TestsCases
  • Motivacion
  • ...

Instalacion

  1. Instalar virtualenvwrappper (opcional)
  2. mkvirtualenv --python=/usr/bin/python3 nameOfEnvironment
  3. workon nameOfEnvironment
  4. pip install -r requirements.txt

Correr localmente

  • Descomentar
DATABASES = {
    'default': {
        # 'ATOMIC_REQUESTS': True,
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}
  • Comentar
DATABASES['default'] =  dj_database_url.config()
  • Correr migraciones y levantar servidor
python manage.py migrate
python manage.py runserver	

Crear superadmin

python manage.py createsuperuser

Migrate heroku

heroku run python manage.py migrate

About

Proyecto Integrador 2 API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages