mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 14:03:42 +00:00
19 lines
410 B
JavaScript
19 lines
410 B
JavaScript
import backend from '@heyputer/backend';
|
|
|
|
const {
|
|
Kernel,
|
|
CoreModule,
|
|
DatabaseModule,
|
|
PuterDriversModule,
|
|
LocalDiskStorageModule,
|
|
SelfhostedModule,
|
|
} = 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()),
|
|
k.boot();
|