-
Landing website for a newbie crypto group.
-
Consists of home/about/roadmap and portfolio pages for displaying NFTs.
-
Implemented an admin panel using Laravel Backpack on /submax
-
Models: User/NFT/Message
-
Contact us section messages will be saved in messages table in database.
- Uploadig is configured for localhost run.
- Config your database credintials in .env file
- Open config/filesystems.php
- Change disks['public']['root'] to storage_path('app/public')
- Now avatar and NFT image uploads will store in /storage/app/public/nfts & /storage/app/public/avatars
- Move /public folder contents to /public_html folder of the cpanel host
- Move others php files to your desired named folder [such as DESIRED_DIR; This will be used in next step]; do not put them in /public_html !
- Change all require routes in index.php as:
require_once __DIR__ '/../DESIRED_DIR/[Require Actual PATH]' - Create a symlink to upload folder with 'ln -s ~/DESIRED_DIR/storage/app/public/ ~/public_html/storage
- Open terminal cd to your DESIRED folder and run composer and database migrations commands, such as:
- composer install
- php artisan config:cache
- php artisan storage:link
- ...
- php artisan migrate
- Enjoy!