Installation
This guide will help you install Dracory and set up your development environment.
Server Requirements
Before you install Dracory, make sure your server meets the following requirements:
- Go 1.24.0 or higher
- SQLite, MySQL, or PostgreSQL
- Git
- Task (taskfile.dev) - Task runner for automation
Framework Structure
Dracory consists of two main repositories:
- github.com/dracory/base - The core framework containing all the essential functionality
- github.com/dracory/blueprint - A ready-made project template to get you started quickly
Creating a New Dracory Project
To create a new Dracory project, clone the blueprint repository:
git clone https://github.com/dracory/blueprint.git my-project
After cloning, you should delete the .git
folder to start with a fresh Git history for your project:
cd my-project
rm -rf .git
git init
Setting Up Your Environment
After initializing a new Git repository, you need to set up your environment:
task dev-init
This will copy the .env_example
file to .env
with default configuration settings. You can then customize the .env
file according to your needs.
Development Server
Once you have set up your environment, you can start the development server:
task dev
This command will start the server and watch for any changes to your code, automatically recompiling and restarting the server when changes are detected.
Next Steps
Now that you have installed Dracory, you might want to: