/real

Helping Fight Email Scams to prevent targets.

Primary LanguagePHP

To install

After AWS Instance creation and putty login

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apache2
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.4
sudo service apache2 restart
sudo apt-get install php7.4[tab][tab]
sudo apt install php7.4-common php7.4-bcmath openssl php7.4-json php7.4-mbstring
sudo a2enmod rewrite
sudo service apache2 restart
sudo apt-get install mysql-server
sudo apt-get install php7.4-mysql
sudo apt-get install phpmyadmin
cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
git clone https://github.com/mmuhd/real.git
cd real
composer install
php artisan key:generate
cp .env.example .env

After creating database

php artisan migrate
php artisan db:seed
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get -y install nodejs
npm install
npm run dev
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/laravel.conf
sudo nano /etc/apache2/sites-available/laravel_project.conf

In the larvel_project.conf

<VirtualHost *:80>
    ServerAdmin admin@example.com
    ServerName something.com
    DocumentRoot /var/www/html/real/public

    <Directory /var/www/html/real/public/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            allow from all
            Require all granted
    </Directory>

    LogLevel debug
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
sudo nano /etc/hosts
127.0.0.1   laravel.dev
sudo a2ensite laravel_project.conf
sudo a2dissite 000-default.conf
sudo service apache2 restart

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via muazumusamuhd@gmail.com. All security vulnerabilities will be promptly addressed.

License

This software is licensed under the MIT license.

real