https://github.com/quantecon/project.lecture-mojo
Some Real World Examples using Mojo (Modular)
https://github.com/quantecon/project.lecture-mojo
Last synced: 3 months ago
JSON representation
Some Real World Examples using Mojo (Modular)
- Host: GitHub
- URL: https://github.com/quantecon/project.lecture-mojo
- Owner: QuantEcon
- Created: 2023-09-25T05:27:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-30T11:44:42.000Z (over 2 years ago)
- Last Synced: 2025-10-14T00:23:27.050Z (8 months ago)
- Homepage: https://quantecon.github.io/project.lecture-mojo/
- Size: 1.8 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# project.lecture-mojo
Some Real World Examples using Mojo (Modular)
## Instructions to run mojo
1. Follow the steps from [Modular docs](https://docs.modular.com/mojo/manual/get-started/index.html#install-mojo) to install the Modular CLI.
2. Set the `MODULAR_HOME` and `PATH` environment variables, as described in the output when you ran `modular install mojo`. For example, if you’re using bash, you can set them as follows:
```
echo 'export MODULAR_HOME="$HOME/.modular"' >> ~/.bashrc
echo 'export PATH="$MODULAR_HOME/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
```
3. Go to the examples directory and try running `mojo shortest_paths.mojo`.