Rusty Road is a web framework for the Rust programming language that takes inspiration from Ruby on Rails. It combines the familiar conventions and ease of use of Rails with the performance and efficiency of Rust, making it a powerful and reliable platform for building web applications.
The name "Rusty Road" not only reflects the language that the framework is built on, but also the journey that developers will take as they build their applications.
As a young programmer, Riley had always been drawn to the power and efficiency of the Rust programming language. He spent countless hours tinkering with code and dreaming of ways to harness Rust's potential to build truly great software. One day, while working on a particularly challenging project, Riley had a breakthrough. He realized that by combining Rust's low-level control with a high-level web framework, he could create a tool that was not only fast and reliable, but also easy to use and accessible to developers of all skill levels. And so, Rusty Road was born.
In the future, Rusty Road will continue to push the boundaries of what is possible with Rust and web development. With its lightning-fast performance and powerful features, Rusty Road will help developers to build the most advanced and sophisticated web applications imaginable. And as it evolves and grows, Rusty Road will remain a beacon of hope for developers everywhere, empowering them to achieve their greatest goals and make the world a better place through the power of software. Together, we will build a brighter future for the good of all.
Are you tired of slow and unreliable web frameworks? Are you ready to take your web development to the next level with the power of Rust? Look no further than Rusty Road! This revolutionary web framework combines the ease of use of Ruby on Rails with the performance and efficiency of Rust, giving you the best of both worlds.
Don't let your web development be held back any longer. With Rusty Road, you can build fast and reliable applications that will wow your users and set you apart from the competition. So why wait? Take control of your web development today with Rusty Road!
Rust Needs a Rails
I outlined this in a blog post here: https://rileyseaburg.com/posts/rust-needs-a-rails
Rusty Road is a framework written in Rust that is based on Ruby on Rails. It is designed to provide the familiar conventions and ease of use of Ruby on Rails, while also taking advantage of the performance and efficiency of Rust.
Rusty Road is a framework written in Rust that is based on Ruby on Rails. It is designed to provide the familiar conventions and ease of use of Ruby on Rails, while also taking advantage of the performance and efficiency of Rust.
Rusty Road is intended to offer developers a powerful and reliable platform for building web applications using Rust, and its name incorporates a rust-themed crab pun in a playful and memorable way.
Rusty Road currently works with the Rocket web framework, the Diesel ORM, the Tera template engine, the SASS asset pipeline, and the PostgreSQL database. It also uses the dotenv crate to manage environment variables, and it uses the dotenv-linter crate to lint environment variables.
Because Rusty Road uses the Rocket web framework, the architecture is not exactly MVC
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Rust is required to build and run Rusty Road. You can install Rust using rustup. rustup is a tool that helps manage Rust installations, it allows for installing multiple versions of Rust and switching between them easily.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Rusty Road is available on crates.io. You can install it using cargo:
cargo install rustyroad
Bonus Step #1 (optional): Add the following to your .bashrc or .zshrc file to make the rustyroad command available in your terminal:
export PATH="$HOME/.cargo/bin:$PATH"
Bonus Step #2 (optional): Create a symbolic link to the rustyroad command in your ~/.cargo/bin directory.
This will create a symlink from rustyroad to rr inside ~/.cargo/bin/ directory.
Now you can invoke rr
command which is just a symlink to rustyroad.
ln -s ~/.cargo/bin/rustyroad rr
Clone the repository and run the setup script.
git clone https://github.com/RileySeaburg/RustyRoad
cd RustyRoad
cargo run
The cli will prompt you to create a new project. Enter the name of your project and the cli will create a new project in the current directory.
bash
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running `target/debug/Rusty_Rocket`
Welcome to Rusty Road!
What would you like to do?
1. Create a new project
2. CLI help
3. Exit
Enter a number: 1
Enter the name of your project: my_project
Creating a new Rusty Road project called my_project
See also the list of contributors who participated in this project.