Spaces:
Sleeping
Sleeping
Download app/templates/apache_setup.j2 from shakauthossain/deploymate: direct link, hf CLI and curl.
- Browser
- Download file 373 Bytes
-
https://huggingface.co/spaces/shakauthossain/deploymate/resolve/main/app/templates/apache_setup.j2
- Command line
-
hf download hf://spaces/shakauthossain/deploymate/app/templates/apache_setup.j2
-
curl -L -o apache_setup.j2 https://huggingface.co/spaces/shakauthossain/deploymate/resolve/main/app/templates/apache_setup.j2
373 Bytes
| # Apache setup script | |
| sudo apt-get update | |
| sudo apt-get install -y apache2 | |
| # Basic Apache config | |
| cat > /etc/apache2/sites-available/000-default.conf << 'EOF' | |
| <VirtualHost *:80> | |
| DocumentRoot /var/www/html | |
| <Directory /var/www/html> | |
| AllowOverride All | |
| Require all granted | |
| </Directory> | |
| </VirtualHost> | |
| EOF | |
| sudo systemctl restart apache2 | |