Removed traces of polaris-web submodule
This commit is contained in:
parent
be268a2004
commit
503eed8b62
7 changed files with 4 additions and 22 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -20,8 +20,6 @@ jobs:
|
|||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get install libsqlite3-dev
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: true
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -40,8 +40,6 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout Polaris
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install Rust Toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
@ -78,8 +76,6 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout Polaris
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: true
|
||||
- name: Read Polaris Version
|
||||
run: echo ::set-env name=POLARIS_VERSION::${GITHUB_REF:10}
|
||||
- name: Build Archive
|
||||
|
|
|
@ -8,8 +8,8 @@ Compiling and running Polaris is very easy as it only depends on the Rust toolch
|
|||
|
||||
Polaris supports a few command line arguments which are useful during development:
|
||||
|
||||
- `-w some/path/to/web/dir` lets you point to the directory to be served as the web interface. You'll probably want to point this to the `/web` directory of the polaris repository.
|
||||
- `-s some/path/to/web/dir` lets you point to the directory to be served as the swagger API documentation. You'll probably want to point this to the `/docs/swagger` directory of the polaris repository.
|
||||
- `-w some/path/to/web/dir` lets you point to the directory to be served as the web interface. You can find a suitable directory in your Polaris install (under `/web`), or from the [latest polaris-web release](https://github.com/agersant/polaris-web/releases/latest/download/web.zip).
|
||||
- `-s some/path/to/swagger/dir` lets you point to the directory to be served as the swagger API documentation. You'll probably want to point this to the `/docs/swagger` directory of the polaris repository.
|
||||
- `-d some/path/to/a/file.db` lets you manually choose where Polaris stores its configuration and music index (you can reuse the same database accross multiple runs).
|
||||
- `-c some/config.toml` lets you use a configuration file to add content to the database. This can be useful if you frequently delete the database and would like to automate the first time flow. The configuration format is not documented but can be inferred by looking at the `Config` struct in `config.rs`.
|
||||
- `-f` (on Linux) makes Polaris not fork into a separate process.
|
||||
|
|
|
@ -7,10 +7,6 @@
|
|||
|
||||
Note that the Github web UI will separate the release from the corresponding tag until published.
|
||||
|
||||
# How to pull changes from polaris-web
|
||||
|
||||
- Run `git submodule update --recursive --remote` or the `update_submodules.bat` script
|
||||
|
||||
# How to change the database schema
|
||||
|
||||
- Add a new folder under `migrations` following the existing pattern
|
||||
|
|
|
@ -4,6 +4,5 @@ Get-ChildItem "Cargo.toml" | ForEach-Object {
|
|||
$script:POLARIS_VERSION = $matches[1]
|
||||
}
|
||||
|
||||
git submodule update --recursive --remote
|
||||
git tag -a $POLARIS_VERSION -m "Polaris $POLARIS_VERSION"
|
||||
git push origin $POLARIS_VERSION
|
||||
|
|
|
@ -23,14 +23,8 @@ Copy-Item .\res\windows\installer\license.rtf .\release\tmp\
|
|||
Copy-Item .\res\windows\installer\banner.bmp .\release\tmp\
|
||||
Copy-Item .\res\windows\installer\dialog.bmp .\release\tmp\
|
||||
Copy-Item .\target\release\polaris.exe .\release\tmp\
|
||||
Copy-Item .\web\img .\release\tmp\web\img -recurse
|
||||
Copy-Item .\web\js .\release\tmp\web\js -recurse
|
||||
Copy-Item .\web\lib .\release\tmp\web\lib -recurse
|
||||
Copy-Item .\web\style .\release\tmp\web\style -recurse
|
||||
Copy-Item .\web\tags .\release\tmp\web\tags -recurse
|
||||
Copy-Item .\web\favicon.png .\release\tmp\web\
|
||||
Copy-Item .\web\index.html .\release\tmp\web\
|
||||
Copy-Item .\docs\swagger .\release\tmp\swagger -recurse
|
||||
Copy-Item .\web .\release\tmp\web -recurse
|
||||
Copy-Item .\docs\swagger .\release\tmp\swagger -recurse
|
||||
|
||||
""
|
||||
"Creating installer"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
git submodule update --recursive --remote
|
Loading…
Add table
Reference in a new issue