Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

wilhelm-lab/proteomicsdb-views

Repository files navigation

⚠️ WARNING ⚠️
This repo is deprecated! It does not contain the latest updates regarding the frontend of ProteomicsDB!
Please refer to https://github.com/wilhelm-lab/proteomicsdb-vue for the latest version.

ProteomicsDB - Frontend in VueJS

Documentation

Check this wiki

Cloning for the first time

Update the submodules

git submodule update --init --recursive

Install dependancies

npm install

Specify target backend in src/store/store.js e.g.

host: 'https://q01.proteomicsdb.in.tum.de'

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

./build.sh

Deploy the frontend via the web ide. Create a new package or delete the old files of the vue package. Create a .xsapp (empty) and a .xsaccess file.

Content of .xsaccess

{
    "exposed": true,
    "authentication": null,
    "prevent_xsrf": false,
    "force_ssl": false,
    "rewrite_rules": [
        {
            "source": "/(?!((css|fonts|img|js|assets).*$))(?!(favicon.ico))(^.*)",
            "target": "/index.html"
        }]
}

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.