VibSpecDB is an open platform for managing, searching, and reusing vibrational spectroscopy data (Raman & IR) aligned with the FAIR principles.
php: "^8.1.8"
composer: "^2.2.4"
npm: "^14.15.4|^16.13.0"
node: "^14.18.0"
composer install
composer update
npm install
npm run dev
git config --global core.autocrlf falseUp docker containers with:
docker-compose up -dDown docker containers with:
docker-compose down[+] Running 6/6
⠿ Network serviceapp_laravel-php-nginx
⠿ Volume "serviceapp_sailpgsql" Started
⠿ Container redis Started
⠿ Container pgsql Started
⠿ Container mailhog Started
⠿ Container laravel_sail Started
Check your docker id with:
docker psEnter into your docker container command line interface of (vibspecdb-laravel.test-1 || vibspecdb-backend-1) with:
docker exec -it **idcontainerahere** bashInside this docker container run migration and initial configuration:
php artisan migrate:fresh
npm run dev
npm install husky --save-dev
npx husky install
npm set-script prepare "husky install"
npx husky add .husky/pre-commit "npm test"
chmod +x ./.husky/pre-*
php artisan key:generate
php artisan optimize
php artisan config:clear
php artisan route:clear This set of commands should fix most of init problems.
Make sure that commands npm i and composer install are done.
npm i
npm run lernaAfter these commands you may run to have online changes in browser:
npm run hotYou can develop shared vue modules, and push changes to your git sub-modules.
- created folder
/resourses/js/pakages - git repo with
serviceappvuecomponentscloned - this repo was added as git submodule to the laravel repo
lerna.jsonconfig file addedpackage.jsonnew npm command added
