-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install ? #16
Comments
Do we want to add wiki pages to this repo? Or commit them to the lychee main repo as a PR? |
There is currently no documentation at all for this project. At least provide some details about the steps, how to get it running:
Point your browser to the running server and enjoy Lychee ;-) |
I'll add it to the docs submodule so it can be committed at the same time
as the update.
…On Wednesday, January 2, 2019, Erdmännchen ***@***.***> wrote:
There is currently no documentation at all for this project.
At least provide some details about the steps, how to get it running:
- download or clone the repo
- run 'composer install --no-dev'
- copy .env.example to .env
- run 'php artisan key:generate'
- edit .env and add all necessary settings (which are necessary beside
the DB settings?!)
- run 'php artisan migrate'
- run 'php artisan serve'
Point your browser to the running server and enjoy Lychee ;-)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADssemJsqblrdpy6IAlkBCWnAEg9j_mjks5u_VjTgaJpZM4ZlCrE>
.
--
Brian E. Bennett
Web: ohheybrian.com
Twitter: @bennettscience <http://www.twitter.com/#!/bennettscience>
574.323.8519
|
@erdmenchen actually I recommend against the
Some settings are related to HSTS |
yes, but my described steps are all dev related. |
Right, this is why the release process on Lychee (classic) requires us to upload the zip file. :) As for creating an installer... this is a slightly more annoying problem as some of our users do not have ssh access to their server. Thus editing the |
Base dependencies (debian testing): apt install libapache2-mod-php7.3
apt install git
apt install php7.3-mysql
apt install php7.3-imagick
apt install php7.3-mbstring
apt install php7.3-json
apt install php7.3-gd
apt install php7.3-xml
apt install php7.3-zip
apt install mariadb-server
apt install composer access the server. mysql create the database and users: create database lychee;
CREATE USER lychee@localhost IDENTIFIED BY 'password';
GRANT ALL ON *.* TO lychee@localhost WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit; Clone the repo cd /var/www/html
git clone --recurse-submodules https://github.com/LycheeOrg/Lychee-Laravel.git Set things up: cd Lychee-Laravel
cp .env.example .env
# edit .env to match the parameters
# install php libraries.
composer install --no-dev
# generate the key (to make sure that cookies cannot be decrypted etc)
./artisan key:generate
# migrate the database
./artisan migrate Laravel requires mode rewrite to be enabled:
add to
create
enable the site:
Restart apache2: systemctl restart apache2 Use your favorite browser and access your Lychee server (e.g. via |
It would be nice if we document the following processes:
The text was updated successfully, but these errors were encountered: