-
Notifications
You must be signed in to change notification settings - Fork 4
Source setup
Praveen edited this page Apr 19, 2021
·
1 revision
-
Login to Raspberry Pi
-
Navigate to html directory
cd /var/www/html
- Clone the repository here
git clone https://github.com/shreyExp/DreamHacker.git
- Update the permissions for the cloned repo
sudo chmod -R pi:pi DreamHacker
- Update the Nginx user to default pi username by running below commands
cd /etc/nginx/
sudo nano nginx.conf
Find user and change the value to pi
Enter CNTRL + X and press Y.
- Edit configuration file of php-fpm by entering following command:
sudo nano /etc/php/7.3/fpm/pool.d/www.conf
- Find the
listen.ownerandlisten.groupparameters and set topi. - Find
listenand update the value to/tmp/php-fpm. - Save and exit by pressing
CNTRL + Xand press Y.
- Restart the services using below commands
sudo systemctl reload php7.3-fpm && sudo systemctl restart nginx.service
- Open browser and go to
localhost.
Please take your time and read these instructions carefully.
We provide detailed changes for each release.
Be sure to read the CONTRIBUTING guidelines before reporting a new issue or open a pull request.