Welcome to the RomanToInteger web program repository! This project provides a simple web application that converts Roman numerals to integers.
This web application allows users to input Roman numerals and get the corresponding integer value. The project includes the main application code and a test suite to ensure the functionality is working correctly.
To run this project locally, you will need:
- A modern web browser
- Node.js and npm (for running tests)
- Clone the repository:
git clone https://github.com/tonela10/RomanToInteger.git
- Navigate to the project directory:
cd RomanToInteger
Open index.html
in your web browser to use the RomanToInteger converter. Simply enter a Roman numeral and the corresponding integer will be displayed.
The project includes a test.js
file to test the conversion functionality. The tests are automatically run every time there is a push to the repository.
To run the tests locally, ensure you have Node.js and npm installed, then run:
npm install
npm test
The application is automatically deployed to GitHub Pages. You can access it at https://tonela10.github.io/RomanToInteger/.
To manually deploy the application:
- Commit your changes:
git add . git commit -m "Your commit message"
- Push the changes to the repository:
git push origin main
GitHub Actions will automatically run the tests and deploy the application to GitHub Pages upon a successful push.
We welcome contributions! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m "Describe your changes"
- Push to the branch:
git push origin feature/your-feature-name
- Open a pull request detailing your changes.
This project is licensed under the MIT License. See the LICENSE file for more details.
Antonio Sediles Asenjo
Thank you for using the RomanToInteger web program! If you have any questions or feedback, please feel free to open an issue in the repository.