Since this repo relies on other repos in order to work, if you want to contribute, please contribute to the correct one.
This repo only support the Electron port of the CosmicComics.
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. Please note we have a code of conduct, please follow it in all your interactions with the project.
To set up a development environment, please follow these steps:
- Git
- Node.js (18)
- NPM (included in Node.js for Windows)
- Python (for compiling some Node.js modules)
- Visual Studio Build Tools (for compiling some Node.js modules) (for windows)
- make (for Linux)
- Build-essential (for ubuntu)
- dev tools (for arch-based distros)
- A terminal
- A browser
-
Clone the repo
git clone https://github.com/Nytuo/CosmicComics
-
Install Node modules via NPM or YARN
npm install
or
yarn install
-
Launch the script to get the last version of the Back and Front End (BFE)
npm run get-bfe
or
yarn get-bfe
-
Relaunch the install of Node modules to get the Back-end ones
npm install
or
yarn install
-
a. Start electron with update the BFE at each launch
npm run start
or
yarn start
b. Start electron without updating the BFE each time
npm run no-update
or
yarn no-update
-
The app will start the server and the interface in parallel.
You've found a bug in the source code, a mistake in the documentation or maybe you'd like a new feature?Take a look at GitHub Discussions to see if it's already being discussed. You can help us by submitting an issue on GitHub. Before you create an issue, make sure to search the issue archive -- your issue may have already been addressed!
Please try to create bug reports that are:
- Reproducible. Include steps to reproduce the problem.
- Specific. Include as much detail as possible: which version, what environment, etc.
- Unique. Do not duplicate existing opened issues.
- Scoped to a Single Bug. One bug per report.
Even better: Submit a pull request with a fix or new feature!
- Search our repository for open or closed Pull Requests that relate to your submission. You don't want to duplicate effort.
- Fork the project
- Create your feature branch (
git checkout -b feat/amazing_feature
) - Commit your changes (
git commit -m 'feat: add amazing_feature'
) CosmicComics uses conventional commits, so please follow the specification in your commit messages. - Push to the branch (
git push origin feat/amazing_feature
) - Open a Pull Request