fabiomattei / ud-demo
Demo app for uglyduckling framework
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Language:JavaScript
Type:project
Requires
- fabiomattei/uglyduckling: dev-master
This package is auto-updated.
Last update: 2025-03-29 01:09:11 UTC
README
Download and startup
Before we start you need to be sure you have composer and docker properly installed on your system. Ulgy Duckling requires PHP 7.3 or newer installed on your system but if that is not the case we can take advantage of docker in order to solve the issue.
Clone the demo project from this repository
git clone https://github.com/fabiomattei/ud-demo
Now you can type:
cd ud-demo
composer update
docker-compose build
docker-compose up -d
You will have a working installation of UD.
Using Docker in order to update the composer dependencies
If you do not have PHP 7.3 or 7.4 installed on your system you can just use docker to run composer. Instead of writing composer update you are going to type:
sudo docker run --rm --interactive --tty --volume $PWD:/app composer update
This command is going to run composer using a docker container.
Setting up the database
The demo app uses PHPMyAdmin to work with the database.
If you point your browser to http://localhost:8183, you are going to find an instance of phpMyAdmin already pointing to your database.
Now is time di import the data schema located in ud-demo/docker/apache/datamodel.sql
First access to the system
Point your browser to: http://localhost:18080
You will find a log-in page.
On your first install the system defines two users (already part of datamodel.sql):
- user: admin password: admin this is the user that can create new users and activate or deactivare modules of the system
- user: author password: author this is just a user created in order to have some kind of access to the system
We recommend you to change usernames and password at your first login.
Now you are ready to go.