Maze CLI offers you a set of command line tools to create, generate, scaffold and run your projects easily and fast.
Linux
Ensure you have the necessary dependencies:
Git: Use your platform specific package manager to install git
Crystal: Follow the instructions to get crystal on this page: Crystal Installation
NodeJS and Webpack:node is an optional dependency and is used to compile JavaScript and other assets.
PostgreSQL:postgres is a relational database server. Maze configures applications to use this database adapter by default, but you can switch to MySQL by passing the flag --database mysql when creating a new application.
Once you have these dependencies, You can build the maze tool from source:
If you run into an issue on compiling regarding Unhandled exception in spawn: fork: Cannot allocate memory it means you don't have enough memory. This can easily be solved by adding a swapfile.