update conf

This commit is contained in:
Dennis Eichhorn 2022-12-16 19:11:29 +01:00
parent dcd4e652d8
commit 7730b793f1
4 changed files with 4 additions and 38 deletions

View File

@ -2,6 +2,7 @@
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments:
Enabled: true
AlignCompound: true
PadOperators: true
AcrossEmptyLines: false
@ -29,7 +30,7 @@ SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: '4'
TabWidth: 4
UseTab: Never
IndentPPDirectives: BeforeHash
IndentCaseLabels: true

View File

@ -3,5 +3,6 @@
"no-duplicate-header": false,
"no-inline-html": false,
"ul-indent": 4,
"ol-indent": 4
"ol-indent": 4,
"ul-style": "consistent"
}

View File

@ -1,23 +0,0 @@
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.31.4"
config.vm.synced_folder ".", "/home/spl1nes/Orange-Management"
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y lsb-release ca-certificates apt-transport-https software-properties-common
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install -y apache2 mysql-server php8.1 php8.1-mysql
cp /home/spl1nes/Orange-Management/Build/VM/oms.conf /etc/apache2/sites-available/oms.conf
a2ensite development.conf
a2dissite 000-default.conf
systemctl reload apache2
echo "create database development" | mysql
echo "CREATE USER 'development'@'localhost' IDENTIFIED BY 'development'" | mysql
echo "GRANT ALL PRIVILEGES ON development.* TO 'development'@'localhost';" | mysql
echo "flush privileges" | mysql
SHELL
end

View File

@ -1,13 +0,0 @@
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/spl1nes/Orange-Management
<Directory /home/spl1nes/Orange-Management>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>