.. _configuration: Configuration ============= You can configure Fawkes by editing ``custom.cfg`` in the Fawkes source folder: .. code-block:: sh $ cd fawkes $ vim custom.cfg $ cat custom.cfg .. code-block:: ini [settings] hostname = localhost http-port = 8081 https-port = 8443 log-level = INFO # run 'make passwd' and to generate password hash phoenix-password = sha256:####################### esgf-search-url = http://example.org/esg-search wps-url = http://localhost:8091/wps # register at github: https://github.com/settings/applications/new github-consumer-key = ######################## github-consumer-secret = ############################ By default Fawkes runs on localhost. The HTTP port 8081 is redirected to the HTTPS port 8443. If you want to use a different hostname/port then edit the default values in ``custom.cfg``: .. code-block:: ini [settings] hostname = localhost http-port = 8081 https-port = 8443 To be able to login with the ``phoenix`` admin user you need to create a password. For this run: .. code-block:: sh $ make passwd To activate the GitHub login for external users you need to configure a GitHub application key for your Fawkes web application: .. code-block:: ini [settings] # register at github: github-consumer-key = ######################## github-consumer-secret = ############################ See the `GitHub Settings `_ on how to generate the application key for Fawkes. If you want to use a different Malleefowl WPS service then change the ``wps-url`` value: .. code-block:: ini [settings] wps-url = http://localhost:8091/wps If you want to use a differnet ESGF index service then change the ``esgf-search-url`` value: .. code-block:: ini [settings] esgf-search-url = http://example.org/esg-search After any change to your ``custom.cfg`` you **need** to run ``make update`` again and restart the ``supervisor`` service: .. code-block:: sh $ make update # or install $ make restart