Browse Source

Installation update

Andrea Pollastri 6 years ago
parent
commit
0ab78ba4f2
1 changed files with 13 additions and 38 deletions
  1. 13 38
      README.md

+ 13 - 38
README.md

@@ -1,43 +1,18 @@
 # CIPI
 ### LAMP AUTO-DEPLOY ON LINUX UBUNTU SERVER
-Install PHP 7.3, MySql 5.7, phpmyadmin, Let's encrypt, fail2ban and other on an empty Linux Ubuntu VPS.
+Install PHP 7.3, MySql 5.7, phpmyadmin, Let's encrypt, fail2ban, npm and other on an empty Linux Ubuntu VPS.
 
-More info on [http://andreapollastri.net/docs/cipi](http://andreapollastri.net/docs/cipi)
+More info on [http://andreapollastri.dev/cipi](http://andreapollastri.dev/cipi)
 
 #### Installation
-Run it as root on an empty Linux Ubuntu 18.04 server:
-> wget -O - https://raw.githubusercontent.com/andreapollastri/cipi/master/go.sh | bash
-
-#### Create a Virtual host
-To create a virtual host:
-> sudo sh /cipi/host-add.sh -d DOMAIN.EXT
-
-This script generates one SFTP/SSH user, one document root, one SSL certificate, one MySql DB and one MySql user for DOMAIN.EXT and WWW.DOMAIN.EXT
-
-#### Delete a Virtual host
-To remove a virtual host (and its user)
-> sudo sh /cipi/host-del.sh -u HOSTUSER
-
-#### Create an Alias
-To create an alias pointed to an user document root:
-> sudo sh /cipi/alias-add.sh -d DOMAIN.EXT -u HOSTUSER
-
-#### Delete an Alias
-To create an alias pointed to an user document root:
-> sudo sh /cipi/alias-del.sh -a ALIASCODE -u ALIASHOSTUSER
-
-#### Regenerate a SSL certificate
-To regenerate a SSL certificate:
-> sudo sh /cipi/ssl.sh -d DOMAIN.EXT
-
-#### Change user SFTP/SSH and DB passwords
-To change an user SSH/SFTP and MySql passwords:
-> sudo bash /cipi/passwd.sh -u HOSTUSER
-
-## Enjoy :)
-
-### Coming Soon...
-- VPS automated websites backups and dbs dumps!
-- HTML admin interface
-- Multi-server support
-- Git Support (git clone, git branch, cp -r /GITFOLDER/* /PUBLICFLODER/, make .sh scripts)
+- Copy this laravel project into a lamp web-server
+- Run: composer install
+- Run: cp .env.example .env
+- Compile .env file with your data
+- Run: php artisan key:generate
+- Run: php artisan cache:clear
+- Run: php artisan config:cache
+- Run: php artisan migrate --seed
+- Run: php artisan storage:link
+- Run: composer update
+- Run: composer dump-autoload