mirror of
https://github.com/dolphin-emu/www.git
synced 2026-01-31 01:05:23 +01:00
Update README, TODO, and CONTRIBUTING
This commit is contained in:
@@ -25,7 +25,7 @@ require more involved staging.
|
|||||||
Running a testing instance locally
|
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
|
are in it (``echo $VIRTUAL_ENV``). Then install all the required dependencies
|
||||||
with ``pip``:
|
with ``pip``:
|
||||||
|
|
||||||
@@ -46,16 +46,7 @@ the ``settings.py`` file (in the ``dolweb/`` directory):
|
|||||||
MEDIA_URL = '/m/user/'
|
MEDIA_URL = '/m/user/'
|
||||||
STATIC_URL = '/m/static/'
|
STATIC_URL = '/m/static/'
|
||||||
|
|
||||||
Then run ``syncdb`` to create a default database. Set up a user when it asks you
|
Then run ``migrate`` to create a default database.
|
||||||
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:
|
|
||||||
|
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Dolphin Emulator Official Website
|
|||||||
|
|
||||||
https://dolphin-emu.org/
|
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).
|
Author: mostly Pierre Bourdon (delroth@dolphin-emu.org).
|
||||||
|
|
||||||
@@ -24,6 +24,7 @@ Quick overview
|
|||||||
translation layer) and the guides (stored in the Dolphin Wiki).
|
translation layer) and the guides (stored in the Dolphin Wiki).
|
||||||
* Media: serves the screenshot gallery.
|
* Media: serves the screenshot gallery.
|
||||||
* Homepage: serves the homepage.
|
* Homepage: serves the homepage.
|
||||||
|
* Update: serves update metadata information to users.
|
||||||
|
|
||||||
Licensing
|
Licensing
|
||||||
---------
|
---------
|
||||||
|
|||||||
8
TODO
8
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.
|
* Using more of django-annoying where it makes sense, particularly @render_to.
|
||||||
|
|
||||||
* Provide some fake data sets to use as initial database contents.
|
* 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
|
* 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
|
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
|
latest. Explain the benefits. Have links to a more complete downloads page
|
||||||
|
|||||||
Reference in New Issue
Block a user