Skip to content

fix: Windows ready! #3952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading