Skip to content

Automate manual post-installation steps for Docker setup #140

@shyamsitaula

Description

@shyamsitaula

Issue Description

Currently, the Docker installation process requires several manual steps to be executed after running docker-compose up --build -d. These manual steps create friction for new users and go against Docker's principle of providing a complete, automated setup experience.

Current Manual Steps

After running docker-compose up --build -d, users must manually execute:

docker exec -it samarium_app npm run dev
docker exec -it samarium_app composer dump-autoload
docker exec -it samarium_app php artisan migrate
docker exec -it samarium_app php artisan key:generate
docker exec -it samarium_app php artisan storage:link
docker exec -it samarium_app php artisan db:seed

Expected Behavior

The Docker setup should be fully automated - users should only need to run:

  1. cp .env.docker.example .env
  2. docker-compose up --build -d

After these commands, the application should be ready to use without any additional manual intervention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions