Pete's Alley - GitHub
Written by Rich Morin.
Precis: use of Git and GitHub by Pete's Alley
Our motivation for using GitHub is a bit unusual, so a bit of explanation may be in order. Most GitHub projects contain code that is intended for distribution and reuse. Although anyone is welcome to copy and use our code, our expectation is that there will only be one “official” server for Pete’s Alley; in any case, we don’t expect others to start up competing servers.
However, we’d like folks to be able to play with our code, improve it, and submit changes. In particular, having a published copy makes it far easier for folks to respond to our requests for assistance (e.g., on Elixir Forum). We also expect that some folks will find GitHub useful as a way to inspect our Elixir and TOML files, submit additions and proposed changes, etc.
Git and Mix
does not require the use of Git,
that certainly seems to be the expectation.
For example, it automagically creates a
in each new project and relies on this to prevent archiving
of (possibly enormous) directory sub-trees such as
Our code is divided into a number of project directories, contained within a Mix umbrella project
A single Git repo resides in the top-level (
along with a tiny
Each project directory has its own
.gitignore file (supplied by Mix).
The file tree for Pete’s Alley contains code (e.g., Elixir), data (e.g., TOML), and documentation (e.g., Markdown). For details, see the Code Tree and Data Tree pages.
To be continued…
[Introduction to Mix ]}https://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html}