/sims

Primary LanguageJavaScript

DJANGO SUPERUSER
USERNAME: sims
PASSWORD: sims


POSTGRES CONFIG
USERNAME: sims
PASSWORD: sims

Steps to run:

  1. Create a database in your postgres with name 'sims'.
  2. Create a postgres user with username = 'sims' and password = 'sims'.
    Grant this user all privileges to the database 'sims'.
    Command: GRANT ALL PRIVILEGES ON DATABASE sims TO sims;
  3. Make migrations.
  4. Migrate.
  5. Run server.

Some Conventions:
  • logoutStatus in the codebase would signify whether the logoutStatus of a particular user is True/False.
  • Maintain sessions for each login/logout.
  • For Non-Admin, pass non_admin = True in the context.
  • For Admin, pass admin = True in the context.
  • For Dealing-Admin, pass dealing_admin = True in the context.