Airvault aims to be a simple, secure and collaborative password manager.
The project is composed of 3 components:
- 1 database (PostgreSQL recommended)
- 1 API/back-end (Node.js/Fastify/Sequelize)
- 1 web application (Vue/Vuex)
Prerequisites:
- Git
First and foremost, you must fetch the source code. We recommend cloning the repository:
git clone https://github.com/airvault-org/airvault.git
Then move to the folder:
cd airvault
Prerequisites:
- Docker
- Docker Compose
The easiest and quickest way to run the application is by executing Docker Compose:
docker-compose up -d
It will instance 4 containers:
airvault_adminer
airvault_db
airvault_api
airvault_webapp
It will also instance 1 network:
airvault_default
⚠️ Do not forget to adapt the default environment variables in the docker-compose file!
If everything is ok, you should be able to visit http://localhost:8080 and login (default admin@example.net
/admin123
) to the web application.
Prerequisites:
- Node
- npm
You can set up the whole application manually.
1/ Ensure to have a running database instance (we recommend PostgreSQL)
💡 You can use the
db
service contained in thedocker-compose.yml
file by executingdocker-compose up -d db
.
2/ Generate the API Dotenv file useful for managing and defining environment variables
npm run configure
3/ Run the API
npm run start:api
4/ Run the web application
npm run start:webapp
⚠️ We recommend to not use the Vue server in production, but to expose the web application resource files through a proxy server such as Nginx, Apache or HAProxy.
5/ Et voilà !
If everything is ok, you should be able to visit http://localhost:8080 and login (default admin@example.net
/admin123
) to the web application.
Prerequisites:
- Git (2.28.0)
- Docker (v20.10.0) & Docker Compose (v1.27.4)
- Node (v14.15.1) & npm (v6.14.8)
Follow the "Manual installation" section above to configure your local environment.
Copyright 2021 Airvault team & project
Licensed under the AGPLv3: https://opensource.org/licenses/agpl-3.0