Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 1.5 KB

install_linux.md

File metadata and controls

40 lines (35 loc) · 1.5 KB

Installing on Linux

Now it is easier to install under Debian/Ubuntu.

  1. Download .deb package from SourceForge
  2. Install in terminal with:
    $ sudo dpkg -i mapigniter2_[version]_all.deb
    
  3. This will install system-wide at /var/www/html/mapigniter2
  4. Open in browser http://localhost/mapigniter2/public
  5. To remove run:
    $ sudo dpkg -r mapigniter2
    
  6. All data created will be saved at /usr/share/mapigniter2_data

Manual install

This install instructions takes in consideration that the Requirements are satisfied before going any further.

  1. Download zip and extract to a web server folder
  2. Copy .env.example to .env
  3. Create a database and set your local configuration on .env
  4. Install as you would install a Laravel application
    • php composer.phar install --prefer-dist
    • php artisan key:generate
    • php artisan migrate
    • php artisan db:seed
  5. Give write permissions to web server to the following folders:
    • storage
    • bootstrap/cache
    • public/storage
    • resources/views/pages
  6. Laravel comes with a .htaccess that allows you to take advantage of URL rewrite. To use this feature enable module rewrite on Apache with: a2enmod rewrite. Next, restart apache.
  7. Open in browser -- your_website_url/public

Install troubleshooting

Check web server logs for errors