diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 33 |
1 files changed, 31 insertions, 2 deletions
@@ -14,11 +14,20 @@ The following dependencies are required to build the wallet: - pnpm - zip +## Prepraring the repository + +After running clone you should boostrap the repository. + +```shell +./boostrap +``` + ## Installation The CLI version of the wallet supports the normal GNU installation process. ```shell +./bootstrap ./configure [ --prefix=$PREFIX ] && make install ``` @@ -27,6 +36,26 @@ The CLI version of the wallet supports the normal GNU installation process. If you are compiling the code from git, you have to run `./bootstrap` before running `./configure`. +## Pushing a new prebuilt version + +After compiling run + +```shell +make prebuilt +``` + +This will create a directory `prebuilt` with a git subtree, +compile every prebuilt project, copy everything into this subtree +and create a commit with the default message mentioning from +which revision the prebuilt was created. +When the script completes the prebuilt version can should +be manually pushed. + +```shell +cd prebuilt +git push +``` + ### Building the WebExtension The WebExtension can be built via the 'webextension' make target: @@ -151,10 +180,10 @@ make anastasis-webui ``` It will run the test suite and put everything into the dist folder under the project root (packages/anastasis-webui). -You can run the SPA directly using the file:// protocol. +You can copy the SPA directly to work local webserver. ```shell -firefox packages/anastasis-webui/dist/ui.html +cp -Tr ./packages/anastasis-webui/dist/prod /var/www/html/anastasis ``` Additionally you can create a zip file with the content to upload into a web server: |