question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use sqlite backend by default to make installation easier

See original GitHub issue

Installing PostgreSQL and setting up its authentication can be in some cases tricky. This is a problem for new contributors, who want to contribute a small fix, but the time and complexity to set up the environment is too high.

By using sqlite by default, we could make the installation of a local python.org version trivial and facilitate contributors from people new to the project.

This could be done by using a sqlite connection in the DATABASES section of pydotorg/settings/local.py. This shouldn’t affect production or other servers afaik (can you please confirm @berkerpeksag ?)

There is one part of the jobs board that depends on features only available in the PostgreSQL backend. For now, we could simply add a message if this part is accessed with a sqlite database, warning the user that this feature is only available with PostreSQL.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
berkerpeksagcommented, Jun 4, 2018

Yeah, I’m personally not fan of the container option too, but if it makes someone’s life easier I’d be willing to offer it as an alternative to the Vagrant based and/or manual installation options.

2reactions
lingstercommented, Jun 3, 2018

Why not setup a docker file so postgres can be spun up with minimal effort?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Appropriate Uses For SQLite
The advantage of SQLite is that it is easier to install and use and the resulting database is a single file that can...
Read more >
How To Use an SQLite Database in a Flask Application
In this tutorial, you'll build a small web application that demonstrates how to use SQLite with Flask to perform basic data manipulation ...
Read more >
Manual:SQLite - MediaWiki
To install SQLite3 on a Debian or Ubuntu based system, use apt install php-sqlite3 . · Windows binaries from php.net are OK. ·...
Read more >
Generic SQLite 3 backend - PowerDNS Documentation
Before you can use this backend you first have to set it up and fill it with data. The default setup conforms to...
Read more >
Set up a Database Backend - Apache Airflow
Some of the older systems have an earlier version of sqlite installed by default and for those system you need to manually upgrade...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found