lexmag / dicon Goto Github PK
View Code? Open in Web Editor NEWSimple release deliverer for Elixir
License: ISC License
Simple release deliverer for Elixir
License: ISC License
Make dicon.deploy
task to require second argument (version) and provide new structure:
<target_dir>/<version>
Introduce dicon.switch
(creates symlink to <target_dir>/current
) and probably dicon.versions
.
When I get prompted with this, if I press y + return, nothing happens, and Dicon just hangs there. We should find a way to avoid this.
** (MatchError) no match of right hand side value: {:error, :timeout}
This can happen because it takes time to stop the running application (dicon.control stop
) or whatever, I think we need a longer timeout for a start.
If the chunk size is >= 262120
, :ssh_sftp.write/4
fails with {:error, {:exit_status, 11}}
(11 means "File already exists" in SFTP, so definitely not helpful ๐).
We should likely have fixed-size chunks and calculate the percentages for the progress bar in a slightly smarter way.
Example use case: we have an application to deploy that connects to Cassandra. We want to deploy it on two machines, and we want each running instance of the application to connect to a different Cassandra node. We want to of course build the release once, deploy the archive once, then change the config.
This can be solved by taking advantage of the -Application Par Val
command-line args (http://erlang.org/doc/man/erl.html) we can pass to the app executable in the release when performing commands through mix dicon.control
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.