mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
17 lines
350 B
JavaScript
17 lines
350 B
JavaScript
|
import backend from '@heyputer/backend';
|
||
|
|
||
|
const {
|
||
|
Kernel,
|
||
|
CoreModule,
|
||
|
DatabaseModule,
|
||
|
PuterDriversModule,
|
||
|
LocalDiskStorageModule,
|
||
|
} = 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.boot();
|