Starting the server
To run the database, simply run:
astral # or python -m astral
You should see something like this:
_ _ _ _ _ _ / /\ / /\ /\ \ /\ \ / /\ _\ \ / / \ / / \ \_\ \ / \ \ / / \ /\__ \ / / /\ \ / / /\ \__ /\__ \ / /\ \ \ / / /\ \ / /_ \_\ / / /\ \ \ / / /\ \___\ / /_ \ \ / / /\ \_\ / / /\ \ \ / / /\/_/ / / / \ \ \ \ \ \ \/___// / /\ \ \ / / /_/ / / / / / \ \ \ / / / / / /___/ /\ \ \ \ \ / / / \/_// / /__\/ / / / /___/ /\ \ / / / / / /_____/ /\ \ _ \ \ \ / / / / / /_____/ / / /_____/ /\ \ / / / ____ / /_________/\ \ \ /_/\__/ / / / / / / / /\ \ \ / /_________/\ \ \ / /_/_/ ___/\/ / /_ __\ \_\\ \/___/ / /_/ / / / / \ \ \/ / /_ __\ \_\/_______/\__\/\_\___\ /____/_/ \_____\/ \_\/ \/_/ \_\/\_\___\ /____/_/\_______\/
🚀✨ [2024-12-12 06:36:42] Starting 🚀✨AstralDB server @ http://localhost:4269 in {your folder}🚀✨ [2024-12-12 06:36:42] -------------------------Reading existing stores-------------------------🚀✨ [2024-12-12 06:36:42] -------------------------Reading stores complete!-------------------------
NOTE: 🚀✨AstralDB saves all data local to each directory by default. Thus, be sure to run this in a new folder.
To get a global 🚀✨AstralDB, simply create a directory dedicated for global instance, and run the DB there. Keeping DB instances local to direcories keeps everything organised.