René's URL Explorer Experiment


Title: study cloud installation via laradock · Issue #182 · studycloud/studycloud · GitHub

Open Graph Title: study cloud installation via laradock · Issue #182 · studycloud/studycloud

X Title: study cloud installation via laradock · Issue #182 · studycloud/studycloud

Description: The problem While easier and more flexible than our old installation via XAMPP, the current studycloud installation script and corresponding startup script that I developed in #112 are long and sometimes error-prone (especially on Mac OS...

Open Graph Description: The problem While easier and more flexible than our old installation via XAMPP, the current studycloud installation script and corresponding startup script that I developed in #112 are long and som...

X Description: The problem While easier and more flexible than our old installation via XAMPP, the current studycloud installation script and corresponding startup script that I developed in #112 are long and som...

Opengraph URL: https://github.com/studycloud/studycloud/issues/182

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"study cloud installation via laradock","articleBody":"## The problem\r\nWhile easier and more flexible than our old installation via XAMPP, the current [studycloud installation script](https://gist.github.com/aryam7/67730c531bb60efccab19f453d16130e) and corresponding [startup script](https://gist.github.com/aryam7/55a75fd93d8a63a0e8f9ab0c3049f988) that I developed in #112 are long and sometimes error-prone (especially on Mac OS). Also, they're not attached to the [studycloud repository](https://github.com/studycloud/studycloud), so it can be hard to go back in git's version history and understand when a change to code in our repository required a change to our installation script. What's more: the installation script depends on package managers which are not always quick to provide the latest and greatest versions of our dependencies (ex: with MySQL 8 and #144). But worst of all, the installation script requires constant maintenance, since it sometimes breaks when the package managers decide to change stuff up (for example, when Homebrew decided to switch to MySQL 8 all of a sudden).\r\n\r\n## The solution\r\nCreate a new installation script and corresponding startup script in a folder in the [studycloud repository](https://github.com/studycloud/studycloud).\r\nThe installation script will use [Laradock](https://github.com/Laradock/laradock) to install our dependencies: MySQL, phpMyAdmin, composer, php, (git?), Laravel Envoy, and Elasticsearch. Since Laradock uses [Docker](https://www.docker.com/), the installation script might need to check whether Docker is installed and install it otherwise.\r\nThe startup script will use Docker to start all of those services, just like the old startup command. In fact, if I can get this all set up fast enough, I may recommend it instead of editing the old startup command as in #171.\r\n- [x] [Setup our repository for using Laradock](https://laradock.io/getting-started/#A1)\r\n\r\n### Before running the installation script, users will have to\r\n- check if git is installed\r\n        - and install it somehow if it isn't\r\n- clone the [studycloud repository](https://github.com/studycloud/studycloud) and the Laradock submodule inside of it\r\n- install Docker\r\n- add the startup script to their `$PATH`\r\n\r\n### The installation script will have to\r\n- [x] create the user's `.env` file (if not already created)\r\n- [x] create the user's Laradock `.env` file (if not already created)\r\n     - perhaps this could be copied from the repository root?\r\n- [x] run the `docker-compose up` command to install all of our dependencies\r\n    - [x] [MySQL](https://laradock.io/documentation/#mysql-root-access)\r\n    - [x] [phpMyAdmin](https://laradock.io/documentation/#use-phpmyadmin)\r\n    - [x] [Elasticsearch](https://laradock.io/documentation/#use-elasticsearch)\r\n    - [x] workspace\r\n        - [x] [composer](https://laradock.io/documentation/#enable-global-composer-build-install)\r\n        - [x] [Laravel Envoy](https://laradock.io/documentation/#install-laravel-envoy-envoy-task-runner)\r\n- [x] run `php artisan key:generate` inside the workspace image\r\n- [x] run `php artisan storage:link` inside the workspace image\r\n- [ ] [setup the studycloud database inside the mysql docker image](https://laradock.io/documentation/#create-multiple-databases)\r\n- [ ] run `php artisan migrate:fresh --seed` inside the workspace image (with mysql running)\r\n- [ ] [Set up docker-sync](https://laradock.io/documentation/#workaround-b-using-d4m-nfs)\r\n\r\n### The startup script will have to\r\neither\r\n- [ ] Startup the proper containers using `docker-compose exec {container-name}`\r\n- [ ] Enter the workspace container by [starting it up and typing `bash` as an extra argument](https://laradock.io/documentation/#enter-a-container)\r\n- [ ] [Close the containers](https://laradock.io/documentation/#close-all-running-containers) we opened before\r\n\r\nor, if using [`docker-sync`](https://docker-sync.readthedocs.io/en/latest/)\r\n- [ ] do [these steps](https://laradock.io/documentation/#b-1-using-the-built-in-d4m-nfs-integration)","author":{"url":"https://github.com/aryarm","@type":"Person","name":"aryarm"},"datePublished":"2020-04-06T02:38:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/182/studycloud/issues/182"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:94c601c2-37d0-ea4a-5627-6b7448e25829
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id90B2:F5406:219F64:2F3C6C:69789F65
html-safe-nonce0e7d35dc1c513a3f05c7d0393a290c528b8ef0271c0a8c0a3305fcb2ac726712
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEIyOkY1NDA2OjIxOUY2NDoyRjNDNkM6Njk3ODlGNjUiLCJ2aXNpdG9yX2lkIjoiMTU0MTUyODU5NjgzNTI0NTkyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfc2d0ce85f3d6ec8dc86c8d13400966db99de1474e2072327bc75342747ab0be
hovercard-subject-tagissue:594762567
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/studycloud/studycloud/182/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4170574d8b5188626b1f6e435054b231ab6825d1ac7477b8ffefaff083e05067/studycloud/studycloud/issues/182
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4170574d8b5188626b1f6e435054b231ab6825d1ac7477b8ffefaff083e05067/studycloud/studycloud/issues/182
og:image:altThe problem While easier and more flexible than our old installation via XAMPP, the current studycloud installation script and corresponding startup script that I developed in #112 are long and som...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearyarm
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/studycloud/studycloud git https://github.com/studycloud/studycloud.git
octolytics-dimension-user_id61662669
octolytics-dimension-user_loginstudycloud
octolytics-dimension-repository_id75028068
octolytics-dimension-repository_nwostudycloud/studycloud
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id75028068
octolytics-dimension-repository_network_root_nwostudycloud/studycloud
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release14920c7cb7d7c207b5e72684d0e6f23b65b849b3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/studycloud/studycloud/issues/182#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstudycloud%2Fstudycloud%2Fissues%2F182
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstudycloud%2Fstudycloud%2Fissues%2F182
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=studycloud%2Fstudycloud
Reloadhttps://patch-diff.githubusercontent.com/studycloud/studycloud/issues/182
Reloadhttps://patch-diff.githubusercontent.com/studycloud/studycloud/issues/182
Reloadhttps://patch-diff.githubusercontent.com/studycloud/studycloud/issues/182
studycloud https://patch-diff.githubusercontent.com/studycloud
studycloudhttps://patch-diff.githubusercontent.com/studycloud/studycloud
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fstudycloud%2Fstudycloud
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fstudycloud%2Fstudycloud
Star 12 https://patch-diff.githubusercontent.com/login?return_to=%2Fstudycloud%2Fstudycloud
Code https://patch-diff.githubusercontent.com/studycloud/studycloud
Issues 47 https://patch-diff.githubusercontent.com/studycloud/studycloud/issues
Pull requests 1 https://patch-diff.githubusercontent.com/studycloud/studycloud/pulls
Actions https://patch-diff.githubusercontent.com/studycloud/studycloud/actions
Projects 0 https://patch-diff.githubusercontent.com/studycloud/studycloud/projects
Wiki https://patch-diff.githubusercontent.com/studycloud/studycloud/wiki
Security 0 https://patch-diff.githubusercontent.com/studycloud/studycloud/security
Insights https://patch-diff.githubusercontent.com/studycloud/studycloud/pulse
Code https://patch-diff.githubusercontent.com/studycloud/studycloud
Issues https://patch-diff.githubusercontent.com/studycloud/studycloud/issues
Pull requests https://patch-diff.githubusercontent.com/studycloud/studycloud/pulls
Actions https://patch-diff.githubusercontent.com/studycloud/studycloud/actions
Projects https://patch-diff.githubusercontent.com/studycloud/studycloud/projects
Wiki https://patch-diff.githubusercontent.com/studycloud/studycloud/wiki
Security https://patch-diff.githubusercontent.com/studycloud/studycloud/security
Insights https://patch-diff.githubusercontent.com/studycloud/studycloud/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/studycloud/studycloud/issues/182
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/studycloud/studycloud/issues/182
study cloud installation via laradockhttps://patch-diff.githubusercontent.com/studycloud/studycloud/issues/182#top
https://patch-diff.githubusercontent.com/aryarm
dependenciesPull requests that update a dependency filehttps://github.com/studycloud/studycloud/issues?q=state%3Aopen%20label%3A%22dependencies%22
https://github.com/aryarm
https://github.com/aryarm
aryarmhttps://github.com/aryarm
on Apr 6, 2020https://github.com/studycloud/studycloud/issues/182#issue-594762567
studycloud installation scripthttps://gist.github.com/aryam7/67730c531bb60efccab19f453d16130e
startup scripthttps://gist.github.com/aryam7/55a75fd93d8a63a0e8f9ab0c3049f988
#112https://github.com/studycloud/studycloud/issues/112
studycloud repositoryhttps://github.com/studycloud/studycloud
#144https://github.com/studycloud/studycloud/issues/144
studycloud repositoryhttps://github.com/studycloud/studycloud
Laradockhttps://github.com/Laradock/laradock
Dockerhttps://www.docker.com/
#171https://github.com/studycloud/studycloud/pull/171
Setup our repository for using Laradockhttps://laradock.io/getting-started/#A1
studycloud repositoryhttps://github.com/studycloud/studycloud
MySQLhttps://laradock.io/documentation/#mysql-root-access
phpMyAdminhttps://laradock.io/documentation/#use-phpmyadmin
Elasticsearchhttps://laradock.io/documentation/#use-elasticsearch
composerhttps://laradock.io/documentation/#enable-global-composer-build-install
Laravel Envoyhttps://laradock.io/documentation/#install-laravel-envoy-envoy-task-runner
setup the studycloud database inside the mysql docker imagehttps://laradock.io/documentation/#create-multiple-databases
Set up docker-synchttps://laradock.io/documentation/#workaround-b-using-d4m-nfs
starting it up and typing bash as an extra argumenthttps://laradock.io/documentation/#enter-a-container
Close the containershttps://laradock.io/documentation/#close-all-running-containers
docker-synchttps://docker-sync.readthedocs.io/en/latest/
these stepshttps://laradock.io/documentation/#b-1-using-the-built-in-d4m-nfs-integration
aryarmhttps://patch-diff.githubusercontent.com/aryarm
dependenciesPull requests that update a dependency filehttps://github.com/studycloud/studycloud/issues?q=state%3Aopen%20label%3A%22dependencies%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.