2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
WIP
2026-02-18 04:23:36 +05:00
wip
2026-02-25 19:24:49 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
wip
2026-03-02 07:08:57 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
WIP
2026-02-15 00:31:16 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-04 20:51:35 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
WIP
2026-02-14 23:09:52 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00
2026-02-03 15:31:29 +05:00

Postshop

Installation

# Install posgres and configure
sudo su - postgres
psql
CREATE USER postshop WITH PASSWORD 'HRbuBNRBaTPeUfbcFf9XHWay';
CREATE DATABASE postshopdb WITH OWNER = postshop LC_COLLATE = 'en_US.UTF-8' TEMPLATE template0;

# Clone
git clone --depth 1 https://github.com/nurmuhammet-ali/postshop.git

# Install packages and configure
cd postshop
cp .env.example .env
composer install --prefer-dist
vim .env
# setup db
# ...
    
# Link the storage
php artisan storage:link

# Migrate and seed
php artisan migrate --seed

# Setup permessions (nginx)
chown -R www-data:www-data ./
sudo find -type f -exec chmod 644 {} \;
sudo find -type d -exec chmod 755 {} \;
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache

# Setup supervisor
apt-get install supervisor
vim /etc/supervisor/conf.d/laravel-default-worker.conf
[program:laravel-default-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/artisan queue:work --sleep=3 --tries=3 --max-time=3600
autostart=true
autorestart=true
user=www-data
numprocs=8
redirect_stderr=true
stdout_logfile=/var/www/postshop/storage/logs/worker.log
stopwaitsecs=3600

sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start laravel-default-worker:*
Description
No description provided
Readme 20 MiB
Languages
CSS 46.2%
PHP 21.4%
Blade 20.2%
JavaScript 11.5%
Vue 0.7%