Calcium is a web-based calculator written in React + Typescript.
If you have any problem or idea, it's welcome to open an issue to let me know.
Calculator -> calc -> Ca (Chemical Element) -> Calcium
- Basic calculating
- Sigma & Integral & Product calculating
- Variable creating and storing
- Function Images Graphing
- Base conversion
- Unit conversion
- Relationship calculating (Thanks to relationship.js)
- History recording
It's recommended to access Calcium by calcium.js.org. But if you want to deploy it locally, please continue reading the following text.
First, you need to make sure that your server (or computer) has installed Docker.
- Pull docker repository
docker pull noahhrreion/calcium:main
- Create container
docker run -p 3000:3000 noahhrreion/calcium:main
- Enter
http://localhost:3000
, and you can start using Calcium.
First, you need to make sure that your server (or computer) has installed Git & Node.js.
- Clone Git repo
git clone https://github.com/nocpiun/calcium.git
- Install dependencies
npm i
If it throws error at this step, you can try:
npm i --force
- Launch Calcium
npm run start
-
Enter
http://localhost:3000
, and you can start using Calcium. -
If you want to make contribution to this repo, then you can set out to modify the code and start debugging!
Contributions to Calcium are welcomed. You can fork this project and start your contributing. If you don't know how to do, please follow the instruction Creating a Pull Request from a Fork. And I'll check the Pull Request list in my spare time. I can't make sure that every Pull Request will be checked at once.
Also, you're supposed to run tests before submitting a commit to your PR.
npm run test
An explanation of the package.json
scripts.
start
Launch the appbuild
Create a production buildtest
Run tests