• English
  • Français (French)

FreeMedForms First run (App configurator)

Just after downloading on a clean computer (no precedent FreeMedForms installation)

Preconfigured FreeMedForms servers

  • if Resources/server.ini exists and
  • file is describing the server connection and
  • if connection to the works fine
    • –> start FreeMedForms with identification dialog

Need identification ?

  • FreeMedForms 0.5.9~alpha1 ask for a user (admin/admin) but is that really required ?
  • Can't we start FMF with a specific user just for the install/config process

Wizard starts

Page 1: Language && server version (DONE)

  • Language combo for the wizard language
  • Possibility for user to choose:
    • single-computer based (Monoposte) (no server, SQLite version)
    • network version as client (→ server connection, no user creation, log and pass must be already defined on the server)
    • network version as server (→ server configuration helper, freemedforms/server user creation, some prefs)
Language && server version pageLanguage && server version page

Network

Page 2: Network (as client) (DONE)

  • Network configuration
  • User login and pass
  • If config is correct → END
Network configuration page - ClientNetwork configuration page - Client

Page 2: Network (as server) (DONE)

  • Network configuration
  • Server database super-administrator login and pass
  • Test connection && get grants (if connection ok)
  • if grants not sufficient to pursue → warningMessageBox && block page
  • If config && grants are OK → auto-configure the server for FreeMedForms (SQL script)
    • dialog to inform on process success or failure
Network configuration page - ServerNetwork configuration page - Server

Page 3: User creation (started)

  • “Create new users” with the following buttons:
    • “with the user manager”
    • “with the quick wizard”
    • “with the complete wizard”
    • “a new practitionner” → quick wizard already configurated for doctors
    • “a new secretary” → quick wizard already configurated for doctors
    • “create the default admin/admin user”
  • “Users share all patients” : yes/no
    • when no, created patients belong to one unique practitionner
    • when yes, created patients belong to all practitionners

Single-computer based installation

Page 2: Some prefs

Page last-1: Patient file (DONE)

  • “Select the form to use as basis for all patients/all users”
  • idem as FreeMedForms 0.5.9~alpha1
Patient form selectionPatient form selection

Wizard last page (DONE)

  • Last page
  • → Mailing list
  • idem as FreeMedForms 0.5.9~alpha1
Last pageLast page

When wizard is validated

  • a log file is created, all steps are logged in this file
  • server (is auto-configurated)
    • if needed, scripts are processed
    • MySQL users are created ???
  • databases are created
  • patient base is populated with 4 virtual patients (shared by all practitionners)
  • on error, ask user “Send the log file to the dev team ?”
  • FreeMedForms is launched
  • End of the procedure

How to configure a MySQL Server for FreeMedForms ?

Requirements

  • You need a network correctly configured
  • Note the IP of the computer used as server (eg: 198.162.0.2); this IP should be fixe (static IP)
  • You need to have super-administrator rights for all platforms

Install MySQL server

Debian/Ubuntu as server

sudo apt-get install mysql-server libqt4-sql-mysql
  • set the superuser password (note it you will need it later; for ex use: root)

Windows as server

MacOs as server

Configure the server

  • edit the /etc/mysql/my.cnf file in section « [mysqld] » :
    • If you are using Debian Linux file is located at /etc/mysql/my.cnf location
    • If you are using Red Hat Linux/Fedora/Centos Linux file is located at /etc/my.cnf location
  • sudo nano /etc/mysql/my.cnf
  • bind-address = x.x.x.x
  • where x.x.x.x is the IP adress the server should listen at. You can also use x.x.x.* or x.x.x.x/y.
  • You can get the server IP using this command line
    • ifconfig  on Linux and MacOs
    • ipconfig /all  on Win32
  • restart the mysql daemon
  • sudo /etc/init.d/mysql restart
  • Create the FreeMedForms database administrator user (automatically managed by FreeMedForms installator)
    • mysql -u root -p <RootPasswordAskedWhenInstallingMySQL>
    • CREATE USER 'fmf_admin' IDENTIFIED BY 'fmf_admin';
      GRANT ALL PRIVILEGES ON `fmf\_%`.* TO 'fmf_admin'@'%' IDENTIFIED BY 'fmf_admin';
      FLUSH PRIVILEGES;
en/drafts/freemedforms/firstrun.txt · Dernière modification: 2011/11/09 09:50 (modification externe)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki FreeMedForms © Eric Maeker, MD