Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tact-lang/tact-by-example
https://tact-by-example.org - Learn Tact by diving head first into working code and seeing many different contracts
https://github.com/tact-lang/tact-by-example
documentation tact ton tutorial
Last synced: about 1 month ago
JSON representation
https://tact-by-example.org - Learn Tact by diving head first into working code and seeing many different contracts
- Host: GitHub
- URL: https://github.com/tact-lang/tact-by-example
- Owner: tact-lang
- License: mit
- Created: 2023-02-17T18:13:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T19:50:20.000Z (10 months ago)
- Last Synced: 2024-03-13T21:03:02.223Z (10 months ago)
- Topics: documentation, tact, ton, tutorial
- Language: TypeScript
- Homepage: https://tact-by-example.org
- Size: 16.4 MB
- Stars: 28
- Watchers: 1
- Forks: 13
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
- [🔍 Changelog](/CHANGELOG.md)
- [🫂 Telegram Group Chat](https://t.me/tactlang)## Developing
### About Tact Source Code
1. Tact code is under the `src` directory. The `src` directory contains the following files: `src/routes/(examples)` - The source code for the examples.
2. The terminal output is located in `src/routes/(examples)/+layout.svelte` file.
3. Run `npm run tact-build` to compile the Tact code you just added.### About the Examples Order
1. Check the order in the `src/routes/(examples)/examples.json` file.
2. The `id` determines the sequence of the examples in the app.### Running the project
Once you've run `npm install` start a development server:
```bash
npm run dev
# Use the Network option to view it on your phone# or start the server and open the app in a new browser tab
npm run dev -- --open
```## Releasing
1. Test the app in dev mode.
2. Make sure to update the version in `package.json`.
3. Run `npm run build` which will build to the `docs` directory.
4. Run `npm run preview` to test the app in production mode.