This is the source code behind https://flygit.fly.io/.
FlyGit a port of RawGit that runs on Fly Edge Apps. All original code was writen by Ryan Grove and contributors.
-
Install Node.js
-
Clone this git repo.
git clone https://github.com/superfly/flygit.git
- Install dependencies
cd flygit && npm install
- Start the local server
npm start
- Browse to http://localhost:3000/ and you should see FlyGit in action.
npm test
fly server
observes any changes made to the files and will automatically recompile
the code (as specified in webpack.config.js
).
Checkout Fly Edge Apps for basic concepts, examples and API Reference.
Want to fix a bug? If it's something small, just send us a pull request. If you want to add a new feature or make significant changes, please get in touch and ask (opening an issue is 👍) before doing the work.
The best part is, there's nothing special about this app. You can grab it and run it as your own on Fly's global edge infrastructure in a few simple steps:
-
Sign up for Fly Edge Beta and create your account.
-
(Assuming you already installed FlyGit locally) Create your own App on Fly:
# provide your login credentials
fly login
# create your app on Fly
# get your org name from `fly orgs`
fly apps create my-org/my-flygit-app
- Create
.fly.yml
file:
# .fly.yml
app_id: my-org/my-flygit-app
- Add your hostname to your Fly App:
fly hostnames add my-fly-git-app.hostname.com
- Go to your DNS provider and add a CNAME for my-fly-git-app.hostname.com to point to beta.edge.fly.io