Laragram is a social media app like Instagram.
Clone this repository to your device and run this commands:
Copy
.env.example
file to.env
cp .env.example .env
Configure
.env
file with your own credentials
# give permission to the storage folder of the application
chmod -R 775 storage
chmod -R 775 bootstrap/cache
# storage symlink
docker exec -it php /bin/sh -c "cd public && ln -s ../storage/app/public storage"
# start the docker containers
docker compose up
# to access the php container, use this command
docker exec -it php /bin/sh
# install composer from the php container
composer install
# install npm packages
npm install
# build for production
npm run build
# generate the application key using the following command
php artisan key:generate
# migrate the tables to the database and seed fake data for testing
php artisan migrate --seed
# check running docker containers status
docker compose ps
# shut down all running docker containers.
docker compose down
composer install
npm install
php artisan key:generate
php artisan migrate
npm run dev
php artisan storage:link
If you like this app don't forget to give a star! ⭐
Thank You!