Live Demo
-
Clonare la repo
git clone https://github.com/andrea-emmanuele/TwitterScheduler.git
-
Installare le dipendenze
npm install & composer install
-
Compilare gli assets
npm run dev
-
Rinominare il file .env.example in .env e settare il database (è necessario creare prima un db in locale)
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=nome_del_tuo_database DB_USERNAME=tuo_username DB_PASSWORD=tua_password
-
Generare una random key
php artisan key:generate
-
Runnare le migrations
php artisan migrate --seed
L'applicazione è ora pronta all'uso.
Per la pubblicazione delle immagini nei tweet è necessario disporre di un account amazon aws e inserire le credenziali nel file .env
AWS_ACCESS_KEY_ID=access_key
AWS_SECRET_ACCESS_KEY=secret_access_key
AWS_DEFAULT_REGION=eu-central-1
AWS_BUCKET=nome_bucket_s3
AWS_USE_PATH_STYLE_ENDPOINT=false