To setup this project, set the following variables in the .env file.
CHURCH_NAME="Example Church"
CHURCH_CITY="Peoria, Illinois"
FLARE_KEY=
ADMIN_USERS=[email protected]
VULTR_BUCKET=
VULTR_REGION=ewr1
VULTR_ACCESS_KEY=
VULTR_SECRET_KEY=
VULTR_ENDPOINT=
If Laravel doesn't do this for you. Set the app key by sshing into the server and running
php artisan key:generate
Then copy the base sqlite database (found at ~/Documents/1.Projects/UltimateChurchWebsite/base.sqlite
on your mac) into /database/database.sqlite.
On the server run
npm i
npm run build
Finally, you need to set the domain to work on vultr. Change the settings in the cors_rules.xml
file locally and then run the following commands from that folder on a mac that has been setup with your vultr account:
s3cmd mb s3://BUCKET
s3cmd setcors cors_rules.xml s3://BUCKET
s3cmd info s3://BUCKET
(Where BUCKET is the name of that site's bucket you set in the .env file above)