agorakit / documentation

Documentation for Agorakit
https://docs.agorakit.org
GNU General Public License v3.0
3 stars 2 forks source link

Installation instructions (+ corrections) specific to Debian #2

Open quenenni opened 4 years ago

quenenni commented 4 years ago

I give you all the command I had to do in order to install agorakit. There was a problem in the middle of the process, based on your documentation, but I found a solution.

In Process.php line 344:

proc_open(): fork failed - Cannot allocate memory


  * To fix that problem, I had to create a swap:

/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 /sbin/mkswap /var/swap.1 chmod 0660 /var/swap.1 /sbin/swapon /var/swap.1

  And now it worked

- All the next commands in your documentaion worked first try.

sudo -u www-data composer install php artisan key:generate php artisan migrate php artisan storage:link


- A simple vhost in apache and I could access the app. <br>
But now I need a better vhost because all the links on the index page return a 404 (as described in the other ticket)

Hope this help.
philippejadin commented 4 years ago

This is very detailed, thank you!

The install doc assume you have a working lamp server ready to accept a php application with composer. Imho server setup is out of scope for the doc but I'm open to change my mind :-)

For example, look at the laravel install docs : https://laravel.com/docs/7.x

quenenni commented 4 years ago

added php-gd to the instructions.