comparison 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
comparison
equal deleted inserted replaced
59:01738ae70f2d 60:0d20fb28c32e
62 ASSO_FINANCE_TARGET = 60000 62 ASSO_FINANCE_TARGET = 60000
63 63
64 # Subscription amounts as defined in the Rules of Procedure 64 # Subscription amounts as defined in the Rules of Procedure
65 ASSO_SUBSCR_AMOUNTS = (0, 10, 20, 30, 50, 80, 100) 65 ASSO_SUBSCR_AMOUNTS = (0, 10, 20, 30, 50, 80, 100)
66 66
67 # Path the CSV file where all the subscriptions are written
68 ASSO_SUBSCR_CSV = "/home/souliane/sat_website_subscriptions.csv"
69
67 # Bank account information 70 # Bank account information
68 ASSO_IBAN = u"FR76 1027 8060 4300 0207 3220 109" 71 ASSO_IBAN = u"FR76 1027 8060 4300 0207 3220 109"
69 ASSO_BIC = u"CMCIFR2A" 72 ASSO_BIC = u"CMCIFR2A"
70 73
71 # URL to the Statutes and Rules of the association 74 # URL to the Statutes and Rules of the association
72 ASSO_URL_STATUTES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/statuts.pdf' 75 ASSO_URL_STATUTES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/statuts.pdf'
73 ASSO_URL_RULES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/r%C3%A8glement%20int%C3%A9rieur.pdf' 76 ASSO_URL_RULES = 'http://repos.goffi.org/sat_docs/raw-file/tip/association/r%C3%A8glement%20int%C3%A9rieur.pdf'
74 77
78 # 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)
79 from sys import path
80 path.append('/home/souliane')
81 from sat_website_external_settings import *
75 82
76 Note that the Django application "markdown_deux" ( https://github.com/trentm/django-markdown-deux ) is required. 83 Note that the Django application "markdown_deux" ( https://github.com/trentm/django-markdown-deux ) is required.
77 For more information, check the local_settings.py file which is distributed in the sat_website directory. 84 For more information, check the local_settings.py file which is distributed in the sat_website directory.
78 85
79 ** RUNNING THE WEBSITE LOCALLY ** 86 ** RUNNING THE WEBSITE LOCALLY **
91 try: 98 try:
92 from local_settings import * 99 from local_settings import *
93 except ImportError: 100 except ImportError:
94 pass 101 pass
95 102
96 In the project directory, enter these commands to initialise the website: 103 In the project directory, enter this command to initialise the website (this has to be done only once):
97 104
98 django-admin syncdb 105 django-admin syncdb
106
107 If you modify some strings in the Django code, update the i18n .po files with:
108
99 django-admin makemessages -a 109 django-admin makemessages -a
110
111 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):
112
100 django-admin compilemessages 113 django-admin compilemessages
101 114
102 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: 115 Whenever you want to launch the web server:
103 116
104 django-admin runserver 117 django-admin runserver
105 118
106 ** CREDIT ** 119 ** CREDIT **
107 120