-
Notifications
You must be signed in to change notification settings - Fork 5
Home
This wiki is designed for old and new contributors and CodeAstra developers, who wish to learn everything necessary to easily install and contribute to CodeAstra.
Important
CodeAstra officially support MacOS only. Although it should work on Windows using WSL, it could have unexpected behavior or errors. Consequentially, this guide has been constructed around MacOS.
The installation on macOS is quite straightforward. Open your terminal, and follow these steps:
-
Clone the repository:
git clone https://github.com/sandbox-science/CodeAstra.git
-
Change into the project directory:
cd CodeAstra
-
Run
make
to install all necessary dependencies and build the software:make
-
Run the following in your terminal to open the app:
open CodeAstra.app
Note
You will also be asked if you want to create a Desktop shortcut. If you enter 'y' or 'Y', a shortcut will be created on your computer's desktop.
This will compile the software and install everything you need to get started.
The software was not tested on Windows directly, but you can use Windows Subsystem for Linux (WSL) to install and run the software on Windows. Follow these steps:
-
Open PowerShell as Administrator and run the following command to install WSL (Ubuntu):
wsl --install
-
Restart your computer when prompted.
Once you have WSL installed and running, open WSL (Ubuntu) terminal and follow these steps to install the necessary packages:
-
Update the package list:
sudo apt update
-
Install
make
:sudo apt install make
-
Install
cmake
:sudo apt install cmake
-
Install the C++ compiler (
g++
):sudo apt install g++ -y
-
Install essential build tools and dependencies:
sudo apt-get install build-essential libgl1-mesa-dev
-
Install Qt development libraries:
sudo apt install qt6-base-dev
After installing the required packages, you can now clone the repository and build the software:
-
Clone the repository:
git clone https://github.com/sandbox-science/CodeAstra.git
-
Change into the project directory:
cd CodeAstra
-
Run
make
to build and install the software:make
This will compile the software inside WSL, and you should be able to use it as you would on a native Linux system.
Thank you for your interest in contributing to this project! We appreciate your support and efforts in making this project better. Please follow the guidelines below to ensure a smooth contribution process.
-
Fork the Repository: Click the "Fork" button at the top right of the repository page to create a copy of the repository in your account.
-
Clone the Repository: Clone your forked repository to your local machine using:
git clone https://github.com/sandbox-science/CodeAstra.git
[!TIP]
Follow the installation guide for detailed instructions.
-
Create a New Branch: Before making changes, create a new branch for your work:
git checkout -b feature-or-bugfix-name
-
Make Your Changes: Implement your feature or fix the bug while following the coding standards and best practices.
-
Test Your Changes: Ensure that your changes do not break existing functionality.
-
Commit Your Changes: Write clear and concise commit messages.
git commit -m "Add feature/fix bug - short description"
-
Push Your Changes: Push your changes to your forked repository.
git push origin feature-or-bugfix-name
-
Create a Pull Request: Submit a pull request (PR) to the main repository with a detailed description of your changes.
- Follow the project's existing coding style and conventions.
- Ensure your code is well-documented and easy to understand.
- Use meaningful commit messages.
- Before opening a new issue, check if it has already been reported.
- Provide detailed information when creating an issue.
If you find a bug, please:
- Open an issue and provide steps to reproduce the problem.
- Include screenshots or error logs if applicable.
- Suggest possible solutions if you have any.
If you have an idea for a new feature:
- Open an issue with a clear and detailed explanation of the feature.
- Describe the problem that the feature will solve.
- Provide any relevant references or examples.
By contributing to this project, you agree to adhere to our Code of Conduct. Please be respectful and considerate of others in the community.
By contributing, you agree that your contributions will be licensed under the same license as the project.
Thank you for your contributions! 🚀