Giter Site home page Giter Site logo

webdavdemo's Introduction

Webdav Demo Application

Webdav Demo Application for BaselHack 2022

Click here for the challenge description

Setting up everything

A Symfony 5 application running inside Docker in an automatically provisioned Vagrant box.

You can use this example for easy local development and to create Docker images ready to be run on a server with Docker enabled.

It's very useful if you want all your developers to work with the exact some software versions and configurations. And to generate Docker images you can use to run the exact same software on a production server.

Includes:

  • Symfony 5 demo app
  • Vagrant provisioning with vagrant-scripts
  • This documentation

It's based on our Open source Docker images:

The virtual machine is based on Debian 9 (Stretch), using the debian/contrib-stretch64 box image.

The following components are used:

  • PHP 8.1
  • Nginx 1.20
  • MySQL 8.0
  • PhpMyAdmin

For local development the following tools are available:

  • XDebug
  • Composer
  • Yarn

Requirements

To run this example project you need:

If you don't have an Account on Dockerhub you should create one. The setup process will ask you for the credentials.

You should also install these vagrant plugins:

  • vagrant-notifyforwarder
  • vagrant-hostsupdater
  • vagrant-vbguest

If you're running Windows you should also install:

  • vagrant-gatling-rsync
  • vagrant-rsync-back

Install plugins like this:

vagrant plugin install vagrant-notifyforwarder
vagrant plugin install vagrant-hostsupdater
vagrant plugin install vagrant-vbguest

Setup this project

Just run:

./bin/init_project.sh
cd docker/vagrant
vagrant up

It takes about 10-15 minutes, depending on your Internet and machine speed. During the setup you need to enter your docker credentials. Please have them at hand.

After everything is completed, a message is displayed saying:

Machine was booted, startup scripts are running inside the docker containers - please wait. 
If you're curious, you can execute 'docker logs -t fpm' inside vagrant or use the docker-logs.sh script. 
Once finished, the application will be available on http://webdavdemo

Now you can browse to http://webdavdemo and you see the demo application

Learn more & start working

There is no "su"-user in fpm-container anymore. If you need root-privileges, login with root:

docker exec -ti -uroot fpm bash

C) Run yarn

use yarn to compile react code

yarn
yarn watch

webdavdemo's People

Contributors

coby-iwf avatar iwfweb avatar mbogucki avatar

Stargazers

Oleg Lavrovsky avatar

Watchers

Jens Hassler avatar  avatar  avatar  avatar  avatar Roland Brand avatar

Forkers

coby-iwf bar9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.