🔥 Remove external packages for unity
This commit is contained in:
parent
4ea28030c7
commit
4b1e34487d
59 changed files with 3 additions and 1905 deletions
|
|
@ -1,23 +0,0 @@
|
|||
[package]
|
||||
name = "drust"
|
||||
version = "0.0.3"
|
||||
edition = "2021"
|
||||
|
||||
description = "A modern web Content Management System to share your world."
|
||||
homepage = "https://pagetop.cillero.es"
|
||||
repository = "https://github.com/manuelcillero/pagetop"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
authors = [
|
||||
"Manuel Cillero <manuel@cillero.es>"
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
pagetop = { version = "0.0", path = "../", features = ["mysql"], default-features = false }
|
||||
# Packages.
|
||||
pagetop-admin = { version = "0.0", path = "../packages/pagetop-admin" }
|
||||
pagetop-user = { version = "0.0", path = "../packages/pagetop-user" }
|
||||
pagetop-node = { version = "0.0", path = "../packages/pagetop-node" }
|
||||
# Themes.
|
||||
pagetop-bootsier = { version = "0.0", path = "../packages/pagetop-bootsier" }
|
||||
pagetop-bulmix = { version = "0.0", path = "../packages/pagetop-bulmix" }
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
<div align="center">
|
||||
<h1>Drust</h1>
|
||||
<p>A Content Management System built on PageTop.</p>
|
||||
</div>
|
||||
|
||||
## Overview
|
||||
|
||||
Modestly inspired by [Drupal](https://www.drupal.org), **Drust** utilizes **PageTop** to develop a
|
||||
CMS (*Content Management System*). It enables the creation of dynamic, manageable, and customizable
|
||||
websites, allowing users to effortlessly create, manage, and organize a wide variety of content on a
|
||||
website.
|
||||
|
||||
|
||||
# 📦 About PageTop
|
||||
|
||||
[PageTop](https://docs.rs/pagetop) is an opinionated web framework to build modular *Server-Side
|
||||
Rendering* web solutions.
|
||||
|
||||
|
||||
# 🚧 Warning
|
||||
|
||||
**PageTop** framework is currently in active development. The API is unstable and subject to
|
||||
frequent changes. Production use is not recommended until version **0.1.0**.
|
||||
|
||||
|
||||
# 📜 License
|
||||
|
||||
All code in this project is dual-licensed under either:
|
||||
|
||||
* MIT License
|
||||
([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)
|
||||
|
||||
* Apache License, Version 2.0,
|
||||
([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
at your option. This means you can select the license you prefer! This dual-licensing approach is
|
||||
the de-facto standard in the Rust ecosystem.
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[app]
|
||||
name = "Drust"
|
||||
description = """\
|
||||
A modern web Content Management System to share your world.\
|
||||
"""
|
||||
|
||||
[database]
|
||||
db_type = "mysql"
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
[app]
|
||||
#theme = "Basic"
|
||||
#theme = "Chassis"
|
||||
theme = "Inception"
|
||||
#theme = "Bootsier"
|
||||
#theme = "Bulmix"
|
||||
language = "es-ES"
|
||||
|
||||
[log]
|
||||
tracing = "Info,pagetop=Debug,sqlx::query=Warn"
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
struct Drust;
|
||||
|
||||
impl PackageTrait for Drust {
|
||||
fn dependencies(&self) -> Vec<PackageRef> {
|
||||
vec![
|
||||
// Packages.
|
||||
&pagetop_admin::Admin,
|
||||
&pagetop_user::User,
|
||||
&pagetop_node::Node,
|
||||
// Themes.
|
||||
&pagetop_bootsier::Bootsier,
|
||||
&pagetop_bulmix::Bulmix,
|
||||
]
|
||||
}
|
||||
|
||||
fn drop_packages(&self) -> Vec<PackageRef> {
|
||||
vec![
|
||||
// &pagetop_node::Node
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#[pagetop::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
Application::prepare(&Drust).run()?.await
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue