Don't forget to pull before starting work.
Install Requirements:
Install Anaconda from these instructions: https://linuxize.com/post/how-to-install-anaconda-on-ubuntu-20-04/
Close the terminal and start a new one to activate conda.
Create and activate conda environment:
conda create -n jupyterlab python=3.9
Or
conda env create -f environment.yml
conda activate rclone-data-mounter
conda install jupyterlab nodejs yarn
conda install -c conda-forge typescript
Clone project:
git clone https://github.com/QCDIS/rclone-data-mounter.git
Create and checkout branch:
cd NaaVRE
git branch <BRANCH_NAME>
git checkout <BRANCH_NAME>
Go to the project folder and install nodejs dependencies :
npm install lerna --force
npm install --force
Build the backend and frontend:
npx lerna run build --scope @jupyter_vre/core
npx lerna run build --scope @jupyter_vre/components
make install-backend && make build-frontend && make install-ui && make link-ui
Build the extension and start a jupyterlab instance:
jupyter lab build && jupyter lab --debug --watch
Build wheel file for release:
make release
make purge
First uninstall all the components:
make uninstall-ui && make unlink-ui
Then delete the relevatnt folders i.e. vre-menu
Next make install the UI compontents
make build-frontend && make install-ui