update info
This commit is contained in:
parent
80bcd42890
commit
3ff3e2e984
13
README.md
13
README.md
|
@ -73,7 +73,12 @@ Each application have a `settings.py` that defines extra options that can be red
|
||||||
Create the database if needed, and generate the tables:
|
Create the database if needed, and generate the tables:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# apply dependencies' migrations
|
||||||
|
./manage.py makemigrations
|
||||||
|
# create the database
|
||||||
./manage.py migrate --fake-initial
|
./manage.py migrate --fake-initial
|
||||||
|
# create a super-user (needed in order to access the administration)
|
||||||
|
./manage.py createsuperuser
|
||||||
```
|
```
|
||||||
|
|
||||||
You must then configure the programs, schedules and audio streams. Start the
|
You must then configure the programs, schedules and audio streams. Start the
|
||||||
|
@ -86,6 +91,14 @@ server from this directory:
|
||||||
You can access to the django admin interface at `http://127.0.0.1:8000/admin`
|
You can access to the django admin interface at `http://127.0.0.1:8000/admin`
|
||||||
and to the cms interface at `http://127.0.0.1:8000/cms/`.
|
and to the cms interface at `http://127.0.0.1:8000/cms/`.
|
||||||
|
|
||||||
|
From the admin interface:
|
||||||
|
* create a Station
|
||||||
|
* create all the Programs and complete their Schedules
|
||||||
|
* defines Outputs for the streamer (look at Liquidsoap documentation for
|
||||||
|
more information on how to configure it)
|
||||||
|
|
||||||
|
TODO: cms related documentation here
|
||||||
|
|
||||||
Once the configuration is okay, you must start the *controllers monitor*,
|
Once the configuration is okay, you must start the *controllers monitor*,
|
||||||
that creates configuration file for the audio streams using the new information
|
that creates configuration file for the audio streams using the new information
|
||||||
and that run the appropriate application (note that you dont need to restart it
|
and that run the appropriate application (note that you dont need to restart it
|
||||||
|
|
|
@ -58,7 +58,7 @@ class WebsiteSettings(BaseSetting):
|
||||||
help_text = _('public description of the website; used for referencing'),
|
help_text = _('public description of the website; used for referencing'),
|
||||||
)
|
)
|
||||||
list_page = models.ForeignKey(
|
list_page = models.ForeignKey(
|
||||||
'cms.GenericPage',
|
'aircox_cms.GenericPage',
|
||||||
verbose_name = _('page for lists'),
|
verbose_name = _('page for lists'),
|
||||||
help_text=_('page used to display the results of a search and other '
|
help_text=_('page used to display the results of a search and other '
|
||||||
'lists'),
|
'lists'),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from django import template
|
from django import template
|
||||||
from django.utils.safestring import mark_safe
|
from django.utils.safestring import mark_safe
|
||||||
|
|
||||||
from aircox.cms.sections import Section
|
from aircox_cms.sections import Section
|
||||||
|
|
||||||
register = template.Library()
|
register = template.Library()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user