Quellcode durchsuchen

added NODE_PATH info to readme

Alexander Rose vor 6 Jahren
Ursprung
Commit
558a082fec
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 5 5
      README.md

+ 5 - 5
README.md

@@ -98,11 +98,11 @@ Run the image
 ### Code generation
 **CIF schemas**
 
-    node build/node_modules/apps/schema-generator/schema-from-cif-dic.js -ts -o src/mol-io/reader/cif/schema/mmcif.ts --fieldNamesPath data/mmcif-field-names.csv --name mmCIF
+    export NODE_PATH="build/src"; node build/src/apps/schema-generator/schema-from-cif-dic.js -ts -o src/mol-io/reader/cif/schema/mmcif.ts --fieldNamesPath data/mmcif-field-names.csv --name mmCIF
 
-    node build/node_modules/apps/schema-generator/schema-from-cif-dic.js -ts -o src/mol-io/reader/cif/schema/ccd.ts --fieldNamesPath data/ccd-field-names.csv --name CCD
+    export NODE_PATH="build/src"; node build/src/apps/schema-generator/schema-from-cif-dic.js -ts -o src/mol-io/reader/cif/schema/ccd.ts --fieldNamesPath data/ccd-field-names.csv --name CCD
 
-    node build/node_modules/apps/schema-generator/schema-from-cif-dic.js -ts -o src/mol-io/reader/cif/schema/bird.ts --fieldNamesPath data/bird-field-names.csv --name BIRD
+    export NODE_PATH="build/src"; node build/src/apps/schema-generator/schema-from-cif-dic.js -ts -o src/mol-io/reader/cif/schema/bird.ts --fieldNamesPath data/bird-field-names.csv --name BIRD
 
 **GraphQL schemas**
 
@@ -111,11 +111,11 @@ Run the image
 ### Other scripts
 **Create chem comp bond table**
 
-    node --max-old-space-size=8192 build/node_modules/apps/chem-comp-bond/create-table.js build/data/ccb.bcif -b
+    export NODE_PATH="build/src"; node --max-old-space-size=8192 build/src/apps/chem-comp-bond/create-table.js build/data/ccb.bcif -b
 
 **Test model server**
 
-    node build/node_modules/servers/model/test.js
+    export NODE_PATH="build/src"; node build/src/servers/model/test.js
 
 ## Contributing
 Just open an issue or make a pull request. All contributions are welcome.