-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
complete C/C++ dev. env installation #303
base: master
Are you sure you want to change the base?
Conversation
Fix Access denied for user 'root'@'localhost' for phpMyAdmin
Running your PHP Applications in Docker
install sqlitebrowser for Sqlite Graphical clients
How to install Django using pipenv
@@ -218,3 +218,19 @@ $ dnf install mariadb-oqgraph-engine | |||
In Fedora, MariaDB server is available also as a dynamic library, that can be handy in some applications. This library (`libmysqld.so`) is available in the package `mariadb-embedded` and header files for building an application against this library are available in the package `mariadb-embedded-devel`. | |||
|
|||
However the use of the embedded library is discouraged. MySQL 8 dropped the embedded library and I expect MariaDB to go in the same direction. | |||
|
|||
# Troubleshooting: | |||
* Fix Access denied for user 'root'@'localhost' for phpMyAdmin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would go to a different section, though. Probably to Web Apps
or to PHP
-related stuff (did not look up that now, please give it a look yourself).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the issue is releted to mysql/mariadb not php so I added on the mariadb section. And the webapp section is not ready.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then please create a stand-alone page in MariaDB subsection. We try to make it as simple as possible and not everyone will use phpMyAdmin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this then.
based. If you prefer an application with graphical user interface (GUI), install | ||
the `sqliteman` package: | ||
based. If you prefer an application with graphical user interface (GUI), you can install | ||
the `sqliteman` package and `sqlitebrowser`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind to elaborate at the diffirence between /usage of/ those two?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sqliteman is discontinued. The project is no longer developed. Last version, 1.2.0, was released in 2013.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then the unmaintained one should be omitted, in case they both provide the same functionallity.
We should give user an an advice, not list all possible options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I remove the unmaintained 6 years old software (sqliteman) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing. Let's recommend what's best
(TM).
## To install complete C/C++ development environment: | ||
|
||
``` | ||
# sudo dnf groupinstall "C Development Tools and Libraries" "Development Tools" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure C/Dev
+Dev/tools
group and GCC
are that much related. It's more like bunch of libraries and debug tools for every compiler/lang. Would you mind to elaborate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned it as Complete developement environment it will install bunch of libraries and debug tools and the user don't have to see xyz tool is missing. Its just an option if anyone need them all in one setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it does, but it's not needed for developing C/C++ apps. This should go into standalone page, because otherwise it would go into almost all compiled languages pages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove it then?
Now this PR spans multiple unrelated pages. Please split it into multiple PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather have a general pipenv page and reference it here, but this is probably better than nothing until that happens.
Also, not sure if pipenv shell
is the best example, maybe try with pipenv run manage.py
or something like that.
$ pipenv lock | ||
``` | ||
|
||
#### Install in the Production environment (Install from `Pipfile.lock` , ignore pipfile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#### Install in the Production environment (Install from `Pipfile.lock` , ignore pipfile) | |
#### Install in the Production environment (Install from `Pipfile.lock`, ignore Pipfile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pipenv run
is used to run commands without activating the virtual environment and pipenv shell
is used to acticvate the virtual environment, isn't it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats what I added :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pipfile should be capital P
then, right? As per the suggested change...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right
@hroncok, do we have standalone/general/ pages for other envs? If yes, it should go into standalone one. |
We have https://developer.fedoraproject.org/tech/languages/python/python-installation.html Using virtualenv section and https://developer.fedoraproject.org/tech/languages/python/multiple-pythons.html Creating virtualenvs and installing packages. In order to get pipenv in, this either needs a major redesign or a separate pipenv page + reference from those. |
|
Thanks both for putting all the work here. |
@@ -44,13 +48,14 @@ $ sqlite3 hello-world.db | |||
After executing this command, you will be greeted with a SQLite prompt and can | |||
now insert the SQL commands to execute. | |||
|
|||
If you prefer using GUI, the [Sqliteman][sqliteman] application enables you to | |||
If you prefer using GUI, the [Sqliteman][sqliteman] or [Sqlitebrowser][sqlitebrowser] application enables you to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you keep one, as per previous comment?
``` | ||
$ pipenv install --ignore-pipfile | ||
``` | ||
|
||
### What next? | ||
|
||
* [Django Documentation](https://docs.djangoproject.com/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we have any reference for pipenv
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really yet, sorry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really yet, sorry
Do we have it, now? :)
Added option to install complete C/C++ development environment