瀏覽代碼

feat(buildpack): Add config and buildpacks.

tags/v0.0.16^2
jackyalcine 6 月之前
父節點
當前提交
6367ffd055
簽署人: me <yo@jacky.wtf> GPG Key ID: 537A4F904B15268D
共有 4 個文件被更改,包括 14 次插入2 次删除
  1. +2
    -0
      .buildpacks
  2. +2
    -2
      README.markdown
  3. +2
    -0
      phoenix_static_buildpack.config
  4. +8
    -0
      scripts/buildpack-compile.sh

+ 2
- 0
.buildpacks 查看文件

@@ -0,0 +1,2 @@
https://github.com/HashNuke/heroku-buildpack-elixir
https://github.com/gjaldon/heroku-buildpack-phoenix-static

+ 2
- 2
README.markdown 查看文件

@@ -24,8 +24,8 @@ where servers or users are shared.

## Install

Installation of Koype is done using Docker and Docker Compose. For detailed
instructions, see [`INSTALL`][2].
Installation of Koype to a machine can be done in a few different ways. For more
information, check out [`INSTALL`][2].

## Usage



+ 2
- 0
phoenix_static_buildpack.config 查看文件

@@ -0,0 +1,2 @@
remove_node=true
assets_path=.

+ 8
- 0
scripts/buildpack-compile.sh 查看文件

@@ -0,0 +1,8 @@
#!/usr/bin/env sh

cd $phoenix_dir || exit 20
npm install -g npx@latest
npm run parcel:build
mix ecto.setup
mix phx.digest
mix que.setup

Loading…
取消
儲存