Skip to content

CampbellTimm/QSMxT-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QSMxT-UI

Prerequisites -> Install node v12.13

mkdir nodejs12
cd nodejs12/
wget https://nodejs.org/dist/v12.13.0/node-v12.13.0-linux-x64.tar.xz
tar xf node-v12.13.0-linux-x64.tar.xz
rm node-v12.13.0-linux-x64.tar.xz
echo "export PATH=`pwd`/node-v12.13.0-linux-x64/bin:${PATH}" >> ~/.bashrc
source ~/.bashrc
$ node --version
v12.13.0
$ npm --version
6.12.0

Database

cd api/
sudo apt-get update
sudo apt-get install libsqlite3-dev
npm install sqlite3 --build-from-source

API

Attach visual studio to docker instance and forward port 4000 to the instance

cd api/
npm install
npm install -g ts-node

To run: ts-node index.ts

Frontend

Install node node on local machine

cd frontend
npm install

To run: cd build/ && python3 -m http.server 8080

Writeable Folders

ROOT_PATH/api/public/bids

ROOT_PATH/api/public/dicoms

ROOT_PATH/api/public/database

ROOT_PATH/api/public/logs

ROOT_PATH/api/public/qsm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages