{"id":13558734,"url":"https://github.com/uxbox/uxbox-docker","last_synced_at":"2025-04-03T13:31:56.941Z","repository":{"id":97064729,"uuid":"50739124","full_name":"uxbox/uxbox-docker","owner":"uxbox","description":"Development enviroment in docker.","archived":false,"fork":false,"pushed_at":"2016-06-21T15:29:14.000Z","size":47,"stargazers_count":17,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-04T09:37:34.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uxbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-01-30T18:44:43.000Z","updated_at":"2021-06-29T05:35:23.000Z","dependencies_parsed_at":"2023-03-13T16:19:43.270Z","dependency_job_id":null,"html_url":"https://github.com/uxbox/uxbox-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uxbox%2Fuxbox-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uxbox%2Fuxbox-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uxbox%2Fuxbox-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uxbox%2Fuxbox-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uxbox","download_url":"https://codeload.github.com/uxbox/uxbox-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247009699,"owners_count":20868592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:05:07.611Z","updated_at":"2025-04-03T13:31:56.691Z","avatar_url":"https://github.com/uxbox.png","language":"Shell","funding_links":[],"categories":["Shell","others"],"sub_categories":[],"readme":"# UXBOX Development Environment #\n\n## Introduction ##\n\nThe development environment consists in a docker container that mounts your local\ncopy of the uxbox souce code directory tree and executes a tmux inside the container\nin order to facilitate execute multiple processes inside.\n\n\n## System requirements ##\n\nYou should have `docker` installed in your system in order to set up properly\nthe uxbox development enviroment.\n\nIn debian like linux distributions you can install it executing:\n\n```bash\nsudo apt-get install docker\n```\n\n\n## Start the docker container ##\n\n**Requires a minimum knowledge of tmux usage in order to use that development\nenvironment.**\n\nFor start it, staying in this repository, execute:\n\n```bash\n./manage.sh run\n```\n\nThis will do the following:\n\n- Build the image if it is not done before.\n- Download all repositories if them are not downloaded previously.\n- Start a container with predefined tmux layout.\n- Start all needed processes such as gulp and figwheel.\n\n\n## First steps with tmux ##\n\nNow having the the container running and tmux open inside the container, you are\nfree to execute any commands and open many shells as you want.\n\nYou can create a new shell just pressing the **Ctr+b c** shortcut. And **Ctrl+b w**\nfor switch between windows, **Ctrl+b \u0026** for kill the current window.\n\n## Inside the tmux session ##\n\n### UI ###\n\nThe UI related tasks starts automatically so you do not need do anything. The\n**window 0** and **window 1** are used for the UI related environment.\n\n\n### Backend ###\n\nThe backend related environment is located in the **window 2**, and you can go\ndirectly to it using `ctrl+b 2` shortcut. \n\nBy default this tasks are performed:\n\n- Start postgresql.\n- Load initial fixtures into the database.\n\nThe backend is not started automatically, and frontend code by default does not\nrequires that (because it uses a remote server on default config).\n\nYou can start it just execting the `run.sh` script:\n\n```bash\n./scripts/run.sh\n```\n\nYou also can start an repl and strart the backend inside of them:\n\n```bash\nlein repl\n```\n\nAnd use `(start)` to start all the environment, `(stop)` for stoping it and\n`(reset)` for restart with code reloading. If some exception is raised when\ncode is reloaded, just use `(refresh)` in order to finish correctly the\ncode swaping and later use `(reset)` again.\n\n\n## License ##\n\n```\nThis Source Code Form is subject to the terms of the Mozilla Public\nLicense, v. 2.0. If a copy of the MPL was not distributed with this\nfile, You can obtain one at http://mozilla.org/MPL/2.0/.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuxbox%2Fuxbox-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuxbox%2Fuxbox-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuxbox%2Fuxbox-docker/lists"}