- Docker
- git
- Clone the repo to a directory
- Copy LMS to lms directory, it should be places next to the
lms-config
directory
/TheApp
/lms-config
/docker
/config
/lms
...lms files
- Go to
lms-config/docker
directory and run:
docker compose up -d
- Run:
docker exec -it lms sh
- Make sure that you are in
/var/www/html
directory (pwd
command) - Run
composer install
- Open a browser and go to
localhost:1234
- Copy the
chown
andchmod
commands from the page that has opened and paste it into the container (if you already exited the container rundocker exec -it lms sh
again) - Refresh the page twice (first time it will migrate the DB and for the second time it will open the setup manager)
- You can now make changes in files from
/lms
directory
If you want to check what's inside the DB, go to localhost:8085
, the email address is [email protected]
and password is admin
- After login right click on
Servers
in the sidebar on the left hand side, thenRegister -> Server...
- Provide a name (could be anything)
- Go to the
Connection
tab - For
Host name/address
enterpostgres
- Port leave as is
- Enter
lms
inMaintenance database
input - Set
Username
andPassword
toadmin
- Save