Skip to content

Parsing Emails from Supporters and Providing REST API with confirmed data

Notifications You must be signed in to change notification settings

savetheinternetinfo/supporterEMailParser

Repository files navigation

📈 Local testing

Installation & Quick setup:

  1. First we need to install an Apache Server with PHP, Composer and NPM. For example Laragon

  2. Clone the repository into the /www/ directory of Laragon and navigate to it

  3. The .env.example file needs to be copied to .env

  4. In .env change the following entries:

  • DB_CONNECTION=mysql -> DB_CONNECTION=sqlite
  • DB_DATABASE=homestead -> DB_DATABASEX=homestead
  1. In .env add an Admin account by filling out the following lines: (The e-mail address doesn't have to be real, but it has to be valid format)
  • ADMIN_USER_NAME=
  • ADMIN_USER_MAIL=
  • ADMIN_USER_PASS=
  1. Create the sqlite file /database/database.sqlite (Just use touch or create an empty text file)

  2. In laragon/bin/php/php-x.x.x/php.ini at around line 906 you need to enable the following extensions:

  • extension=imap
  • extension=pdo_sqlite
  1. Composer Update & Install
    $ composer update
    $ composer install

  2. Generate Key
    $ php artisan key:generate

  3. Generate Sqlite Database
    $ php artisan migrate

  4. Create Admin Account
    $ php artisan admin:create

  5. Installieren NPM Packets
    $ npm i

About

Parsing Emails from Supporters and Providing REST API with confirmed data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published