Skip to content

c4710n/elixir_china

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElixirChina

built with nix

Promot Elixir in China, and guide more chinese developers to international community.

Online Version

Visit https://elixir-china.zekedou.live.

Development

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Deployment

build Docker image

# build x86_64-linux image on x86_64-darwin host
$ nix build .#packages.x86_64-linux.docker-image-triggered-by-x86_64-darwin
$ ./result | docker load

# ...
# run `nix flake show` to show more packages

push Docker image

$ flyctl auth docker
$ docker push <image>

update fly.toml

[build]
  image = "<image>"

deploy it

$ flyctl deploy

License

MIT

About

Promot Elixir in China, and guide more chinese developers to international community.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published