Start by cloning or creating a fork of this repository. See GitHub's documentation for help with this: https://docs.github.com/en/get-started/quickstart/fork-a-repo
Secondly ensure that you download and install Node & NPM.
Once you have installed Node and NPM, you can verify that it is correctly installed and referenced in your PATH system variables by executing the following and receiving similar output:
$ node -v
v16.14.0
$ npm -v
8.3.1Following installation of Node and NPM, you should be able to run the following command to install the referenced project dependencies from the root directory of the repository:
$ npm installFollowing installation of the project dependencies, to begin working on the application, you can execute the following commands to start the AIDE Front-End.
# Compiles and hot-reloads for development
$ npm run serve
# Compiles and minifies for production
$ npm run buildFor the AIDE Front-End to replicate a production environment, you will need to first overide the default settings by creating a .env file in the projects root directory and add/configure the following
VUE_APP_KEYCLOAK_REALM=aide
VUE_APP_KEYCLOAK_CLIENT_ID=aide-app
VUE_APP_KEYCLOAK_ON_LOAD=login-required
VUE_APP_AUTH_ENABLED=false
The AIDE Front-End relies on the AIDE API for data and uses Keycloak for authentication. Refer to the documentation for both to run each locally. To update the address for each to point to your running services, you must update the env-config.js within the public/ directory:
window.FRONTEND_API_HOST = "http://localhost:5000";
window.KEYCLOAK_URL = "https://localhost:8443/auth";
To verify any changes you make haven't affected existing functionality, you can run the unit tests and end-to-end tests, which will be required to pass for any subsequent contribution to the code base:
# Run your unit tests
$ npm run test:unit
# Lints and fixes files
$ npm run lintContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
AIDE is Apache 2.0 licensed. Please review the LICENCE for details on how the code can be used.