skwet / team-project Goto Github PK
View Code? Open in Web Editor NEWNetwork Scanner(Team Project)
License: MIT License
Network Scanner(Team Project)
License: MIT License
В pull request я додав базовий .env файл, в якому є тільки ключ від джанго.
Додай ще туди дані з постгреса і юзаю в settings.py через .env, а не відкрито світи ними
Updated last month
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.
гигнув
Makefile можеш зробити
класна штука
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
лол)))
ну типу джс))))
шо програміст сильний?
перемога буде????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????мм
шось ти ґиґнув
Витягни з папки проекту файл бази даних, зроби комміт, що вона видалена з репо і засунь назад.
Вона буде залишатись у тебе локально, але в репо більше не буде залітати .
Commits on Oct 24, 2023
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.