puter/run-selfhosted.js

19 lines
410 B
JavaScript
Raw Normal View History

2024-03-30 23:08:03 +00:00
import backend from '@heyputer/backend';
const {
Kernel,
CoreModule,
DatabaseModule,
PuterDriversModule,
LocalDiskStorageModule,
SelfhostedModule,
2024-03-30 23:08:03 +00:00
} = backend;
const k = new Kernel();
k.add_module(new CoreModule());
k.add_module(new DatabaseModule());
k.add_module(new PuterDriversModule());
k.add_module(new LocalDiskStorageModule());
k.add_module(new SelfhostedModule()),
2024-03-30 23:08:03 +00:00
k.boot();