This repository contains the scripts to compile and build the AymurAI installer for Windows.
Note: The AymurAI installer no longer installs Miniconda or LibreOffice automatically. You must install these dependencies manually before running AymurAI.
The installer includes the AymurAI application and required resources. It is built using the Nullsoft Scriptable Install System (NSIS). Compilation can be done on a native Windows environment or in a Docker container using wine
.
The repository structure is as follows:
.
├── build
│ └── AymurAI-Installer.exe
├── .devcontainer
│ ├── devcontainer.json
│ └── Dockerfile
├── LICENSE.md
├── README.md
├── resources
│ ├── api
│ │ ├── pipelines
│ │ │ └── production
│ │ │ ├── flair-anonymizer
│ │ │ │ └── pipeline.json
│ │ │ └── full-paragraph
│ │ │ └── pipeline.json
│ │ └── static
│ │ └── logo256-text.ico
│ ├── aymurai-<VERSION>-py3-none-any.whl
│ ├── environment.yml
│ ├── install.bat
│ ├── run_server.bat
│ └── uninstall.bat
└── scripts
├── headers
│ ├── install_backend.nsh
│ ├── install_frontend.nsh
│ └── uninstall.nsh
└── installer.nsi
- The
build
directory contains the compiled installer executable. - The
.devcontainer
directory contains configuration for the development container. - The
resources
directory contains resources required to build the installer, such as the AymurAI wheel file and environment file. - The
scripts
directory contains the NSIS installer script and headers.
- NSIS (if compiling on a native Windows environment)
- Docker (if compiling in a development container)
- Visual Studio Code (if using the development container)
- Miniconda (must be installed manually)
- LibreOffice (must be installed manually)
Before installing AymurAI, you must manually install Miniconda and LibreOffice:
-
Download and install Miniconda for Windows:
- Miniconda Download Page
- Download the latest Windows x86_64 installer and run it.
-
Download and install LibreOffice for Windows:
- LibreOffice Download Page
- Download the latest Windows x86_64 MSI installer and run it.
Ensure both Miniconda and LibreOffice are installed and available in your system before proceeding with the AymurAI installation.
- Install the Dev Containers extension for Visual Studio Code.
- Open the repository in Visual Studio Code.
- Click on the
Reopen in Container
button in the bottom right corner of the window to open the repository in a development container. Alternatively, you can run theDev Containers: Reopen in Container
command from the command palette (Ctrl+Shift+P
). - The development container will be built and the repository will be opened in the container. This may take a few minutes. The
wine
command will be available in the container to compile the installer.
If you are working on a native Windows environment, you can use the NSIS compiler directly. Download the NSIS installer and install it on your system. Load the installer.nsi
script located in the scripts
directory using the NSIS compiler and compile the installer.
If you are working in the development container, you can compile the installer using the wine
command. Run the following command to compile the installer:
# Compile the installer
wine ~/.wine/drive_c/Program\ Files/NSIS/makensis.exe -- scripts/installer.nsi
The installer executable will be created in the build
directory.
We welcome contributions to AymurAI! If you would like to contribute, feel free to submit a pull request with your changes or open an issue if you have any questions or suggestions.
- Julián Ansaldo - @jansaldo at collective.ai (email)
- Raúl Barriga - @jedzill4 at collective.ai (email)
- Matías David Szlajen - @dblandit-git at DBlandIT (email)
If you use AymurAI in your research or any publication, please cite the following paper to acknowledge our work:
@techreport{feldfeber2022,
author = "Feldfeber, Ivana and Quiroga, Yasmín Belén and Guevara, Clarissa and Ciolfi Felice, Marianela",
title = "Feminisms in Artificial Intelligence: Automation Tools towards a Feminist Judiciary Reform in Argentina and Mexico",
institution = "DataGénero",
year = "2022",
url = "https://drive.google.com/file/d/1P-hW0JKXWZ44Fn94fDVIxQRTExkK6m4Y/view"
}
Proper citation helps us continue developing AymurAI and supporting the community.
AymurAI is open-source software licensed under the MIT License. This license allows for modification, distribution, and private use, provided that appropriate credit is given to the original authors.