X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=install.html;h=974bf8b29c38e89ed13c1f204bd1b421afd0fbb3;hb=63d0ac1bc71600ba1e127bb8c5dc49c1df329489;hp=5984d404c0abf381c2409983599ac91eae215316;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/install.html b/install.html index 5984d404..974bf8b2 100644 --- a/install.html +++ b/install.html @@ -1,307 +1,186 @@ - - - - - FrontAccounting - - - - +FrontAccounting - -
FrontAccounting 1.0 Installation
- +
FrontAccounting +Installation

Pre-requisites

- - - -

Important Notes

- - - -

Copying all the project files to the correct directory

- - - -

Installation Steps (automatic, recommended)

- -
    - - -
  1. If you have the option to create multiple databases on your host, create one, fi. frontacc, -otherwise write down the database name for your account. At the same -time look up the username and password for the database. You will need -these informations during the wizard install.
  2. - - -
  3. Enter your_url/account/install (or -whatever directory you entered). This will run the install wizard, +
  4. If you have the option to create multiple databases on your +host, create one, fi. frontacc, otherwise +write down the database name for your account. At the same time look up +the username and password for the database. You will need these +informations during the wizard install.
  5. +
  6. Enter your_url/account/install +(or whatever directory you entered). This will run the install wizard, setup a drill company and populating with initial data. You can later on create your own real company. It is a good idea to get familiar with -the system before starting your own company. 
  7. -
  8. After successfully install, remove or rename your install directory for safety reasons. You don't need it any more.
  9. - - +the system before starting your own company.  +
  10. After successfully install, remove or rename your install +directory for safety reasons. You don't need it any more.
- - -

Installation Steps (manuel, for advanced users, not recommended)

- - +

Installation Steps (manuel, for advanced users, not +recommended)


-

- -
    - - -
  1. - -

    Creating the Database

    - - - -
      - - -
    1. NOTE : As FrontAccounting is still heavily under development, -the database structure will ALWAYS change between releases, so if you -have a database that you created for a previous release of -FrontAccounting, it WILL NOT WORK after installing a new release. -Please delete any old databases before proceeding.
    2. - - -
    3. We strongly suggest using a GUI to manage your database(s) and database users. If you don’t have any, download phpMyAdmin.
    4. - - -
    5. Create a database with a name of your choice. The default in config_db.php is ‘frontacc’, but of course you can select whatever name you desire.
    6. - - -
    7. Populate the database you have created. There are two scripts +
    8. +

      Creating the Database

      +
        +
      1. NOTE : As FrontAccounting is still heavily under +development, the database structure will ALWAYS change between +releases, so if you have a database that you created for a previous +release of FrontAccounting, it WILL NOT WORK after installing a new +release. 
        Please look in the file Update.html for how to handle this.
      2. +
      3. We strongly suggest using a GUI to manage your +database(s) and database users. If you don’t have any, download phpMyAdmin. +
      4. +
      5. Create a database with a name of your choice. The +default in config_db.php is ‘frontacc’, +but of course you can select whatever name you desire.
      6. +
      7. Populate the database you have created. There are two +scripts are provided to populate the database (both inside the folder /sql) : - - -
          - - -
        1. en_US-demo.sql. This has a minimal amount of demonstration data set up so that transactions can be tried to see how the system works.
        2. - - -
        3. en_US-new.sql. This script has +
            +
          1. en_US-demo.sql. +This has a minimal amount of demonstration data set up so that +transactions can be tried to see how the system works.
          2. +
          3. en_US-new.sql. +This script has only the basic data necessary to start a new company system off. If you wish to set up your company on FrontAccounting then this is the script to use.
          4. - - - -
          - - -
        4. - - -
        5. Now that the database is created you will need to set up a -database user to access this database. DO NOT USE THE USER -‘ROOT’. Set up a new user and give that user full -privileges over the database ‘frontacc’.
        6. -
        7. After successfully install, remove or rename your install directory your_url/account/install (or -whatever directory you entered) for safety reasons. You don't need it any more.
        8. - - - -
        - - -
      8. - - -
      9. - -

        Editing config_db.php

        - - - -
          - - -
        1. config_db.php contains connection -information for the database. These must be set to your local settings -or you will not be able to access FrontAccounting.
        2. - - -
        3. FrontAccounting allows multiple connections, you can enter as -many connections as you have separate entities (most people will use -only one).
        4. - - -
        5. $db_connections is an array of connections – for each connection :
        6. - - -
        7. name” is the name of the connection, this is the name that will be displayed to the user
        8. - - -
        9. host” is the computer IP +
        +
      10. +
      11. Now that the database is created you will need to set +up a database user to access this database. DO NOT USE THE USER ‘ROOT’. +Set up a new user and give that user full privileges over the database +‘frontacc’.
      12. +
      13. After successfully install, remove or rename your +install directory your_url/account/install +(or +whatever directory you entered) for safety reasons. You don't need it +any more.
      14. +
      +
    9. +
    10. +

      Editing config_db.php

      +
        +
      1. config_db.php +contains connection information for the database. These must be set to +your local settings or you will not be able to access FrontAccounting.
      2. +
      3. FrontAccounting allows multiple connections, you can +enter as many connections as you have separate entities (most people +will use only one).
      4. +
      5. $db_connections is an +array of connections – for each connection :
      6. +
      7. name” is the name of the +connection, this is the name that will be displayed to the user
      8. +
      9. host” is the computer IP address or name where the database is. The default is localhost assuming that the web server is also the sql server.
      10. - - -
      11. dbuser” is the user name under -which the database should be accessed. NB, again, do not use the user -ROOT. A user with appropriate privileges must be set up.
      12. - - -
      13. dbpassword” is the password for “dbuser”. You would have entered this when you created “dbuser”.
      14. - - -
      15. dbname” is the name of the database. The provided scripts use the name OpenAccounting.
      16. - - -
      17. tbpref” is the table prefix for +
      18. dbuser” is the user name +under which the database should be accessed. NB, again, do not use the +user ROOT. A user with appropriate privileges must be set up.
      19. +
      20. dbpassword” is the +password for “dbuser”. You would have entered this when you created +“dbuser”.
      21. +
      22. dbname” is the name of +the database. The provided scripts use the name OpenAccounting.
      23. +
      24. tbpref” is the table +prefix for the tables. If you only have access to one database, you must use table prefix to separate the companies. Table prefix is set by a table prefix counter inside config_db.php, fi. 0_ for the first company.
      25. - - - -
      - - -
    11. - -
    - - +
  2. +

 Logging In For the First Time

- -
    - - -
  1. Open a browser and enter the URL for the web server directory where FrontAccounting is installed.
  2. - - -
  3. Enter the user name:  'admin'
  4. - - -
  5. Enter the password: 'password'
  6. - - -
  7. (NB : enter without quotation marks).
  8. - - -
  9. - -
    You can set up additional user accounts from the System Setup +
  10. Pleae ensure that the folder /company/0 +on the server is writable.
  11. +
  12. Open a browser and enter the URL for the web server +directory where FrontAccounting is installed.
  13. +
  14. Enter the user name:  'admin' +
  15. +
  16. Enter the password: 'password' +
  17. +
  18. (NB : enter without quotation marks).
  19. +
  20. +
    You can set up additional user accounts from the System +Setup tab. Be careful not to delete the demonstration user until a new user has been set up. If there are no users defined the next time you try to login you won't be able to. The only way then to create a user to login with is to manually edit the SQL table "users" to insert a user.
    - - -
  21. - - +
- -

Setting Up Company Specific Data

- -
    - - -
  1. All the standing configuration data is defined from the Setup tab +
  2. All the standing configuration data is defined from the +Setup tab and each link should be reviewed to enter appropriate data for the business. Setup wizards that guide you through this process has been -implemented and we strongly recommend you to use this approach, see Installation steps (automatic, recommended) .
  3. - - +implemented and we strongly recommend you to use this approach, see Installation +steps (automatic, recommended) .
- -

Troubleshooting

- -
    - - -
  1. If FrontAccounting is installed locally, you may have the session save path not set correctly. Normally this is set in your php.ini (for Windows). The entry is called session.save_path. Make sure this is set to a directory that actually exists. The default is set to /tmp, which may not be valid.
  2. - - -
  3. If you are installing FrontAccounting onto a shared server, you -may have to set the session save path within FrontAccounting. At the -top of config.php you will find this line :
  4. - - -
  5. Uncomment this line and set the path to a directory that exists +
  6. If FrontAccounting is installed locally, you may have the session +save path not set correctly. Normally this is +set in your php.ini (for Windows). The entry is called session.save_path. +Make sure this is set to a directory that actually exists. The default +is set to /tmp, which may not be valid.
  7. +
  8. If you are installing FrontAccounting onto a shared server, +you may have to set the session save path within FrontAccounting. At +the top of  +/includes/session.inc you will find this line :
  9. +
  10. Uncomment this line and set the path to a directory that +exists on your server. Make sure that you have read/write privileges on this directory.
  11. - -
- -

 

- - - + \ No newline at end of file