Code Monkey home page Code Monkey logo

team-project's People

Stargazers

 avatar

Watchers

 avatar

team-project's Issues

GM.

Updated last month

???

перемога буде????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????мм

DB

Витягни з папки проекту файл бази даних, зроби комміт, що вона видалена з репо і засунь назад.
Вона буде залишатись у тебе локально, але в репо більше не буде залітати .

PostgreSQL

Hi!

I opened settings.py and saw that you use SQLite:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': BASE_DIR / 'db.sqlite3',
    }
}

It's a bad practice to be honest.

I recommented to use PostgreSQL.
This database is much better suited for professional development.

Your settings should look something like this:

DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.postgresql_psycopg2",
        "NAME": os.getenv("POSTGRES_DB"),
        "USER": os.getenv("POSTGRES_USER"),
        "PASSWORD": os.getenv("POSTGRES_PASSWORD"),
        "HOST": "db",
        "PORT": "5432",
    }
}

But better read the official documentation.

idea

Commits on Oct 24, 2023

static

шось ти ґиґнув

Add requirements and gitignore

Hello!

Welcome back to GitHub!
Your repositories have become better. I noticed that you added the LICENSE and the README.
It is really cool!
I want to suggest you add a file requiremets.txt with all python requremets to run the Django project
and file .gitignore for the cleanliness and security of your repository.

I recommend you

  • to read this article about requiremets
  • and use this site to generate the file text.

Good luck!

Docker

It's me again!

From the name of your repository, I guess it's a team project.

I think it would be cool to use Docker to facilitate the team's work and the future of the deployment.

I recommend using these materials:

  1. tik
  2. tok

Have a nice day!

.env

В pull request я додав базовий .env файл, в якому є тільки ключ від джанго.
Додай ще туди дані з постгреса і юзаю в settings.py через .env, а не відкрито світи ними

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.