Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
IISSI-Friends/settings.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45 lines (37 sloc)
1.31 KB
This file contains 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
############################################################################### | |
# Project-specific settings | |
############################################################################### | |
# Shows debug messages while Silence is running | |
DEBUG_ENABLED = False | |
# Database connection details | |
DB_CONN = { | |
"host": "127.0.0.1", | |
"port": 3306, | |
"username": "iissi_user", | |
"password": "juandiego2603", | |
"database": "iissi_friends", | |
} | |
# The sequence of SQL scripts located in the sql/ folder that must | |
# be ran when the 'silence createdb' command is issued | |
SQL_SCRIPTS = [ | |
"createdb.sql", | |
"functions.sql", | |
"procedures.sql", | |
"triggers.sql", | |
"populateDB.sql", | |
# Reference your sql files here, e.g. "create_tables.sql" | |
] | |
# The port in which the API and the web server will be deployed | |
HTTP_PORT = 8080 | |
# The URL prefix for all API endpoints | |
API_PREFIX = "/api/v1" | |
# Table and fields that are used for both login and register | |
# Uncomment this and set up your own table and columns: | |
USER_AUTH_DATA = { | |
"table": "usuarios", | |
"identifier": "email", | |
"password": "contraseña", | |
} | |
# A random string that is used for security purposes | |
# (this has been generated automatically upon project creation) | |
SECRET_KEY = "-rVocCgFkpVHzHV-qA-Ig26W_z9TS84nlQmOFFKPvL4" |