This is a work in progress Repo and not ready for Production uses yet.
- Install PHP with minimum version of 8.2. If you cannot get PHP 8.2 on your machine consider using docker or another container solution.
- Enable php extensions
curl
,iconv
,mysqli
,pdo_mysql
,zip
- Install Composer
- Run
composer install
- Install npm
- Run
npm install && npm run build
to install the necessary packages and prepare the javascript and css - Setup the required
.env
variables following Laravel Installation Documenation. It will be helpful to use the provided .env.example as a template. - To run locally for development use
php artisan serve
- Install docker and docker-compose
- Setup the require
.env
variables following Laravel Installation Documenation - If you want to use
sail
then follow Laravel Sail Documentation skip the dev install step (it is already installed) - If you want to use base docker then you will need to setup your own docker compose file as of now a supported configuration is in the works.
- Copy or Clone BioKIC/Symbiota into this repo. in a new directory with the name of your choice (e.g., "Portal")
- Add
PORTAL_NAME=
to your.env
file and give it the name of the folder you just created - Setup the rest of the
.env
to connectDB
secrets to match your symbiota config - Test by Navigating to a no laravel page like
sitemap
on the navbar - Note that, for some pages, the relative path of symbini.php may need to be changed. They can now reference the
$SERVER_ROOT
variable. For example, collections/search/index.php might need the lineinclude_once('../../config/symbini.php');
changed toinclude_once($SERVER_ROOT . '/config/symbini.php');
There are some small database additions do for some laravel features mostly surrounding the users. If you are upgrading from an existing schema make sure your Symbiota Schema is up to date with the latests Symbiota release. To do the upgrade first run the database/schema/upgrade.sql
to populate migrations for tables that already exist in the symbiota schema. Then run the command php artisan migrate
to popluate the remaing laravel tables.
Note: The files referenced in the current BioKIC/Symbiota that are placed into the new folder described above will not make use of any of laravel's features. This step is just a means to slowly port the project in a non blocking fashion.
- Profile
- Editor
- List Results
- Table Results
- Profile
- Permissions
- comments
- loans
- Specimen Labels
- Annotation Labels
- Batch Georef Tool
- Batch Determinations
- Darwin Core Archive Publishing
- Duplicate Manager
- Cleaning Tools
- Backup Download
- Resore Backup
- Thumbnail Maintenance
- Update Stats
- Editor
- Table Editor
- Specprocessor
- Image Loading
- Crowdsourcing
- OCR
- Reports
- Exporter
- GeoLocate
- Base Page
- Full Text File
- Skeletal File
- Darwin Core Archive Manual
- IPT Resource / Darwin Core Archive Provider
- NfN File
- Direct Database Mapping
- Base Page UI
- Symbiota Schema
- Darwin Core Schema
- Multimedia extension
- Identifiers extension
- MeasurementOrFact extension
- Profile
- Edit
- Search
- Creator Lookup
- Profile
- Editor
- Tree Explorer
- Login
- Registration
- 2auth
- Oauth (Orcid)
- Profile
- Admin Editor
- Voucher Editor
- Coordinate Aid
- Point Aid
- Occurrence | checklist Search
- Checklist/Profject map
- Taxon Thumbnail Generator
- Sitemap
- Datausage