20210423

20210423

index.js

//ハッシュ値と同じ名前のディレクトリをtmp以下に作成
execSync("mkdir tmp/" + hash);
//HTMLファイル保存用のディレクトリを作成
execSync("mkdir tmp/" + hash + "/" + hash);
  • 学生実験用Linuxで作成
  • Python3.8のDockerイメージを起動し、MakoをInstall。sudo docker run –name python3envmako_installed centos/python-38-centos7 pip install mako
  • 起動したコンテナからDockerイメージを作成。sudo docker commit python3envmakoinstalled python3envmakoinstalled:ver1
  • 作成したDockerイメージからSingularityイメージを作成。

sudo singularity build python3envmakoinstalled.sif docker-daemon:python3envmako_installed:ver1  * m50v251n2サーバにscpコマンドで転送 ===== Makoを使ってTemplateエンジンにParseしたSRAのデータをレンダリングする ===== * このページを参照 https://bty.sakura.ne.jp/wp/archives/65 * Templateの result.html''にレンダリング

  • 20210423.1619165861.txt.gz
  • 最終更新: 2021/04/23 08:17
  • by 133.11.144.10