updating readme

This commit is contained in:
2024-02-22 22:38:46 +01:00
parent 167174bfe5
commit b04230320d
2 changed files with 9 additions and 6 deletions

4
composer.lock generated
View File

@@ -1819,7 +1819,7 @@
"illuminate/session": "~5.0|^6.0", "illuminate/session": "~5.0|^6.0",
"illuminate/support": "~5.0|^6.0", "illuminate/support": "~5.0|^6.0",
"intervention/image": "~2.5", "intervention/image": "~2.5",
"php": "^7.2" "php": "^7.1"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
@@ -2505,7 +2505,7 @@
"require": { "require": {
"illuminate/support": ">=5.1", "illuminate/support": ">=5.1",
"jenssegers/agent": "^2.6", "jenssegers/agent": "^2.6",
"php": ">=7.2", "php": ">=7.1",
"ua-parser/uap-php": "^3.9" "ua-parser/uap-php": "^3.9"
}, },
"require-dev": { "require-dev": {

View File

@@ -171,13 +171,11 @@ server {
(You will most likely encounter a issue where 2 packages namely: visitor and captcha require at least php 7.2, to get around this just change the value to 7.1 in the composer.lock file) (You will most likely encounter a issue where 2 packages namely: visitor and captcha require at least php 7.2, to get around this just change the value to 7.1 in the composer.lock file)
(make sure you have enough RAM for the installation, otherwise use swap) For your local development instance make sure that you change 'secure' => true, to 'secure' => false, in `config/session.php` otherwise it will not let you log in!
`touch .env`
`php71 artisan key:generate` Create the .env file with the following content
`vim .env`
<pre> <pre>
APP_KEY= APP_KEY=
APP_ENV=production APP_ENV=production
@@ -196,12 +194,17 @@ RECAPTCHA_PUBLIC=
RECAPTCHA_PRIVATE= RECAPTCHA_PRIVATE=
</pre> </pre>
`php71 artisan key:generate`
`mkdir public/b` `mkdir public/b`
`cd public/b` `cd public/b`
Now put some random webm in the folder and name it `1.webm` Now put some random webm in the folder and name it `1.webm`
`mkdir public/thumbs`
`mkdir public/thumbs/beta`
Modify `database/seeds/DatabaseSeeder.php` and uncomment all the different seeders. (Initially you'll need all) Modify `database/seeds/DatabaseSeeder.php` and uncomment all the different seeders. (Initially you'll need all)
Run `php71 artisan migrate` and then `php71 artisan db:seed` Run `php71 artisan migrate` and then `php71 artisan db:seed`