From 6ad2da71d692f130cf4e3ec3b737c77ead6f5cbf Mon Sep 17 00:00:00 2001 From: Max Brokman Date: Sun, 12 Jan 2025 21:01:13 +0000 Subject: [PATCH] fix: Some adjustments to the readme and the telescope to get things running on windows more easily --- public/.gitignore | 1 + public/vendor/telescope/mix-manifest.json | 5 +++++ readme.md | 24 ++++++++++++++++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 public/vendor/telescope/mix-manifest.json diff --git a/public/.gitignore b/public/.gitignore index ce03ab9ae1..68bb06df2a 100644 --- a/public/.gitignore +++ b/public/.gitignore @@ -4,4 +4,5 @@ /js /fonts mix-manifest.json +!vendor/telescope/mix-manifest.json /images/vendor diff --git a/public/vendor/telescope/mix-manifest.json b/public/vendor/telescope/mix-manifest.json new file mode 100644 index 0000000000..37a0c65d97 --- /dev/null +++ b/public/vendor/telescope/mix-manifest.json @@ -0,0 +1,5 @@ +{ + "/app.js": "/app.js?id=99f84d421ae083196e0a45c3c310168b", + "/app-dark.css": "/app-dark.css?id=1ea407db56c5163ae29311f1f38eb7b9", + "/app.css": "/app.css?id=de4c978567bfd90b38d186937dee5ccf" +} diff --git a/readme.md b/readme.md index 68db0ddc1b..dea241aa51 100644 --- a/readme.md +++ b/readme.md @@ -20,6 +20,9 @@ Click "Open in Dev Container" when prompted, or run the task from the F1 menu. A docker-compose file is provided in `.devcontainer/docker-compose.yml`. +On Windows you may wish to use Laravel Herd instead, +you will need to run MySQL and create `core` and `cts` databases separately. + ### Setup Generally, this project follows the [standard installation instructions](https://laravel.com/docs/10.x/installation) relating to Laravel. @@ -57,9 +60,28 @@ npm install Compile the assets. ```shell -npm run dev +npm run build +npm run dev # if you need hot reload etc ``` +### Configure + +Set your `APP_URL` to where you are running Core, e.g `core.test`. +**Important:** do not include any trailing slashes in the url + +In order to log in to Core you need Vatsim Connect set up. See docs [here](https://vatsim.dev/services/connect/sandbox) +for information on what usernames and passwords this supports. + +When running core as `core.test` you may use the following env settings (in .env) + +``` +VATSIM_OAUTH_BASE=https://auth-dev.vatsim.net +VATSIM_OAUTH_CLIENT=958 +VATSIM_OAUTH_SECRET=l2JVotx1SsHY0ufTXDW1TVskUKm4UiZCpxFHiFwD +VATSIM_OAUTH_SCOPES=full_name,email,vatsim_details,country +``` + + ### Run Tests ```shell