No description
Find a file
Yousef El Bakri 6efd4f8595 Merge branch 'dev' into 'main'
Merge dev to main before handing in report

See merge request cse2000-software-project/2023-2024/cluster-n/11c/atypical-speech-project!155
2024-06-22 00:09:33 +02:00
.github/workflows fix: run only unit tests for app 2024-06-21 13:33:45 +02:00
.gitlab docs(mr-template): Add note about merging to branch 2024-05-09 15:27:22 +02:00
app Merge branch 'proper-auth' into 'dev' 2024-06-21 23:36:50 +02:00
docs docs: Polished READMEs and CONTRIBUTINGs 2024-05-29 00:17:18 +02:00
kernel Merge branch 'dev' of https://github.com/TU-Delft-SALT-Group/spectral into dev 2024-06-21 21:46:35 +00:00
.gitignore fix(app): Fixed some broken e2e tests after merging 2024-06-21 15:13:21 +02:00
.gitlab-ci.yml ci: add new required env variables 2024-06-21 23:14:32 +02:00
.pre-commit-config.yaml docs: write a comment in precommit about ids of jobs 2024-06-21 12:55:52 +02:00
.variables.env feat: upgrade pre-commit to use single stage 2024-05-18 12:27:18 +00:00
_typos.toml feat(app): added styling and propper visualisation for error-rate mode 2024-05-27 19:16:51 +02:00
ci.py chore: rename backend to kernel and frontend to app 2024-05-21 10:18:47 +02:00
CONTRIBUTING.md docs: add few lines in contributing about production 2024-06-08 18:22:05 +02:00
docker-compose.prod.yaml feat: Properly authenticate and prevent access of /api 2024-06-21 22:26:38 +02:00
docker-compose.yaml feat: Properly authenticate and prevent access of /api 2024-06-21 22:26:38 +02:00
nginx.conf feat: Properly authenticate and prevent access of /api 2024-06-21 22:26:38 +02:00
nginx.prod.conf feat: Properly authenticate and prevent access of /api 2024-06-21 22:26:38 +02:00
README.md Added proper links in some readme files 2024-06-01 15:07:12 +02:00

Spectral

Spectral is a toolkit that enables comparative analysis of atypical speech, with a nice user experience.

It is designed to be modular and extensible.

Home page of Spectral Waveform mode of Spectral

Usage

The easiest way to use the app is by accessing at https://spectral.ewi.tudelft.nl.

Running locally

First, clone the repo:

git clone https://github/TBD/spectral.git
cd spectral

Download Docker and Docker compose following the instructions on the website.

(NOTE: For MacOS (especially Apple Sillicon), consider using colima as the runtime)

Then, run the compose file

docker compose up --build

This will pull the containers and install all dependencies. (NOTE: There is one Python dependency where wheels have to be rebuilt. This will likely take 5-10 minutes at least).

When all the containers are pulled and the dependencies built, the app should be available at localhost (i.e., http://localhost:80).

Self hosting

Spectral can be easily self-hosted on your own server.

Follow the steps above and expose port 80. You could also change the nginx config to host the app in a different port. That is, in nginx.conf change the "listen 80;" line to your desired port:

...

server {
-    listen 80;
+    listen <YOUR-PORT>;

    ...
}

...
If you really don't want two reverse proxies...

For more advanced users, if you are already using a reverse proxy then you can follow the configuration in the docker compose file and set up each service in your configuration.

For example, if you're already using compose then you can add the services with barely any changes to your existing compose file. This method as-explained is somewhat dubious fundamentally, but an advanced user can figure it out. Again, this is not really recommended nor officially supported by the project.

Contributing

Contributions are welcomed. For more information, see the CONTRIBUTING.md

License

TODO