diff README @ 60:0d20fb28c32e

many small changes: - set opacity 0.85 to libervia screenshot on the main page - remove videos from the repository (stored on external ftp) - more details in the README concerning the i18n - settings can be overriden by an external file (for the stats) - add in basic features.html a button to experimental features - add a link to the SàT MUC in downloads section - add link to bugzilla + improve other links in dev/community - add + symbol for projects using standard blogging system - add ~ symbol for projects being no communication tool - save subscription form results to a text file - update press.py and links.py
author souliane <souliane@mailoo.org>
date Fri, 15 May 2015 17:15:40 +0200
parents 746e53efc188
children 1fb1e233d63f
line wrap: on
line diff
--- a/README	Thu May 14 23:42:25 2015 +0200
+++ b/README	Fri May 15 17:15:40 2015 +0200
@@ -64,6 +64,9 @@
     # Subscription amounts as defined in the Rules of Procedure
     ASSO_SUBSCR_AMOUNTS = (0, 10, 20, 30, 50, 80, 100)
 
+    # Path the CSV file where all the subscriptions are written
+    ASSO_SUBSCR_CSV = "/home/souliane/sat_website_subscriptions.csv"
+
     # Bank account information
     ASSO_IBAN = u"FR76 1027 8060 4300 0207 3220 109"
     ASSO_BIC = u"CMCIFR2A"
@@ -72,6 +75,10 @@
     ASSO_URL_STATUTES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/statuts.pdf'
     ASSO_URL_RULES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/r%C3%A8glement%20int%C3%A9rieur.pdf'
 
+    # Import another settings file that can override these settings (for example to daily update the stats when you don't want a script to directly modify this file)
+    from sys import path
+    path.append('/home/souliane')
+    from sat_website_external_settings import *
 
 Note that the Django application "markdown_deux" ( https://github.com/trentm/django-markdown-deux ) is required.
 For more information, check the local_settings.py file which is distributed in the sat_website directory.
@@ -93,13 +100,19 @@
 except ImportError:
     pass
 
-In the project directory, enter these commands to initialise the website:
+In the project directory, enter this command to initialise the website (this has to be done only once):
 
 django-admin syncdb
+
+If you modify some strings in the Django code, update the i18n .po files with:
+
 django-admin makemessages -a
+
+After having completed your translations or after a pull from the repository, compile the .po files to their .mo equivalents (the later ones are not stored on the repository):
+
 django-admin compilemessages
 
-All the preceding instructions had to be done just once, now you only need to type this command (again in the project directory) whenever you want to launch the web server:
+Whenever you want to launch the web server:
 
 django-admin runserver