Compare commits

...

3 Commits

Author SHA1 Message Date
a2713522c9 update Vagrantfile
create link to map directory at right position
2022-02-27 22:36:18 +01:00
a1e044c082 use ubuntu/jammy64 (22.04) as base image 2022-02-27 22:35:36 +01:00
4c7a1c6916 update .gitignore
ignore .vagrant directory
2022-02-27 22:34:57 +01:00
2 changed files with 9 additions and 2 deletions

7
.gitignore vendored
View File

@ -38,6 +38,12 @@ Network Trash Folder
Temporary Items
.apdisk
## Vagrant
.vagrant/
# Log files (if you are creating logs in debug mode, uncomment this)
# *.log
## Project Files
wsgi/.idea
www/dlsv
@ -47,3 +53,4 @@ www/data/events.xml
www/data/geolocation.js
scripts/*.json
scripts/*.xml

4
Vagrantfile vendored
View File

@ -1,5 +1,5 @@
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/focal64"
config.vm.box = "ubuntu/jammy64"
config.vm.synced_folder ".", "/vagrant"
config.vm.network(:forwarded_port, guest: 80, host: 8888)
@ -8,7 +8,7 @@ Vagrant.configure("2") do |config|
sudo apt-get -y install nginx
echo "Starting nginx..."
sudo ln -s /vagrant/www /usr/share/nginx/html/map
sudo ln -s /vagrant/www /var/www/html/map
sudo cp /vagrant/www/index.html.en /vagrant/www/index.html
sudo useradd -s /bin/false nginx
sudo service nginx restart