Skip to content

Vasak-OS/componere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Componere

Logo

A simple application to install VasakOS in your PC. A guided installation process to install VasakOS in your PC.

Dependencies

Componere depends on the following packages:

Start Componere

To start Application, run the following steps:

  1. Clone the repository
git clone [email protected]:Vasak-OS/componere.git
  1. Move to the directory
cd componere
  1. Install dependencies and Build UI
cd ui/
yarn install
yarn build
cd ..
  1. Start Application
python componere.py --webEngineArgs --remote-debugging-port=3030 --remote-allow-origins=http://127.0.0.1:3030 # --debug
python componere.py # normal mode

PKGBUILD Template

# Maintainer: Your Name <your_email@domain>

pkgname=componere
pkgver=0.0.1
pkgrel=1
pkgdesc="PKGBUILD template for VSK Apps"
url="https://github.com/Vasak-OS/$pkgname/"
depends=(
    'python-libvasak'
    'libvasak-bootstrap'
    'libvasak-ui'
)
makedepends=(
    'nodejs'
)
license=('GPL')
arch=('x86_64')
md5sums=('68c81dfe3a33b44ea3c88451fccdc159')
source=("$url/archive/refs/tags/$pkgver.tar.gz")

package() {
    cd $pkgname-$pkgver
    install -dm755 "${pkgdir}/usr/share/${pkgname}/"
    install -d "${pkgdir}/bin"
    cd "${pkgdir}/usr/share/${pkgname}/ui" && npm i && npm run build
    cp -r "${srcdir}/${pkgname}-${pkgver}/src/*" "${pkgdir}/usr/share/${pkgname}/src/"
    cp -r "${srcdir}/${pkgname}-${pkgver}/ui/dist/*" "${pkgdir}/usr/share/${pkgname}/ui/dist/"
    cp "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/share/${pkgname}/"
    cp "${srcdir}/${pkgname}-${pkgver}/${pkgname}.py" "${pkgdir}/usr/share/${pkgname}/"
    
    chmod a+x "${pkgdir}/usr/share/${pkgname}/${pkgname}"
    ln -sf "/usr/share/${pkgname}/${pkgname}" "${pkgdir}/bin/${pkgname}"
}

Contributors