From bdd60862b5f04cfcf36eb8b4c4f3e9ce9d0b1141 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 21 Jul 2018 15:22:19 +0200 Subject: [PATCH] Update README, TODO, and CONTRIBUTING --- CONTRIBUTING.md | 13 ++----------- README.md | 3 ++- TODO | 8 -------- 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f075a34..132b3a0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ require more involved staging. Running a testing instance locally ---------------------------------- -First of all, create a Python 2.6 or 2.7 virtual environment and make sure you +First of all, create a Python 3.6+ virtual environment and make sure you are in it (``echo $VIRTUAL_ENV``). Then install all the required dependencies with ``pip``: @@ -46,16 +46,7 @@ the ``settings.py`` file (in the ``dolweb/`` directory): MEDIA_URL = '/m/user/' STATIC_URL = '/m/static/' -Then run ``syncdb`` to create a default database. Set up a user when it asks you -to - this user is required to access the admin part of the website: - - python manage.py syncdb - -After you've done this, you need to update the database models: - - python manage.py makemigrations - -And then apply those updates: +Then run ``migrate`` to create a default database. python manage.py migrate diff --git a/README.md b/README.md index 2ce9f4e..7c832ab 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Dolphin Emulator Official Website https://dolphin-emu.org/ -Technologies: Django (Python 2.x), HTML and CSS, using Twitter Bootstrap. +Technologies: Django (Python 3), HTML and CSS, using Twitter Bootstrap. Author: mostly Pierre Bourdon (delroth@dolphin-emu.org). @@ -24,6 +24,7 @@ Quick overview translation layer) and the guides (stored in the Dolphin Wiki). * Media: serves the screenshot gallery. * Homepage: serves the homepage. + * Update: serves update metadata information to users. Licensing --------- diff --git a/TODO b/TODO index f090745..a225794 100644 --- a/TODO +++ b/TODO @@ -1,15 +1,7 @@ -* Porting to Python 3 and latest Django (currently on old versions). - * Using more of django-annoying where it makes sense, particularly @render_to. * Provide some fake data sets to use as initial database contents. -* Download system rework: currently the download types are hardcoded, which was - a terrible idea and is now blocking us to add things like Android downloads, - updated Ubuntu builds, etc. - * Should be a DownloadableItem: {version, url, autodetection_thingy} in DB. - * Then need a script to port old data to the new format. - * Download UI: too confusing for users, way too many versions displayed on the downloads page. Simplify the view with two side by side options: stable or latest. Explain the benefits. Have links to a more complete downloads page