Skip to content

Commit

Permalink
fix: Some adjustments to the readme and the telescope to get things r…
Browse files Browse the repository at this point in the history
…unning on windows more easily
  • Loading branch information
maxbrokman committed Jan 12, 2025
1 parent 189963e commit 6ad2da7
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/js
/fonts
mix-manifest.json
!vendor/telescope/mix-manifest.json
/images/vendor
5 changes: 5 additions & 0 deletions public/vendor/telescope/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"/app.js": "/app.js?id=99f84d421ae083196e0a45c3c310168b",
"/app-dark.css": "/app-dark.css?id=1ea407db56c5163ae29311f1f38eb7b9",
"/app.css": "/app.css?id=de4c978567bfd90b38d186937dee5ccf"
}
24 changes: 23 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6ad2da7

Please sign in to comment.