Initial Configuration
When installing the FlyCode GitHub Application - FlyCode scans the GitHub repositories you've granted access to and learns your project structure.
FlyCode generates a .flycode.yaml configuration file in the repository root, and identifies your:
  • Apps located in different directories
  • Branches & Tags that represent your environments and workflow
  • Resource Files that contain all your texts
1
version: 0.42
2
​
3
# FlyCode supports mono-repos in which you manage multiple apps
4
apps:
5
​
6
# We still need you to give human readable names :)
7
- name: App Dashboard
8
path: dashboard/frontend/
9
​
10
# We guess your resource file location and structure
11
text-resources:
12
- path: src/lang/*.json
13
format: formatjs
14
​
15
- name: App Admin
16
path: admin/frontend/
17
​
18
# But sometimes you'll know better than us...
19
text-resources:
20
- path: custom/lng/*.json
21
format: formatjs-nested
22
​
23
# FlyCode adapts to your branching model
24
branches:
25
​
26
# We adapted with the times, but don't worry - master is still supported ;)
27
- name: main
28
alias: Production Environment
29
# You don't like allowing edits directly in production, we get that :)
30
# But knowing what's there is useful
31
mode: display
32
​
33
- name: dev
34
alias: Development Environment
35
# We don't commit directly to your branches
36
# Pull Requests are created and managed by your team
37
mode: pull-request
38
​
39
- name: feature/**
40
# In some cases you'd might like us to commit directly to your branches
41
# to enhance collabiration during development
42
mode: write
43
​
44
# FlyCode supports tags and releases
45
tags:
46
​
47
- name: v1.42.0
48
alias: Important Release
49
# Of course tag can only be in display|ignore mode
50
mode: display
51
​
52
​
53
defaults:
54
​
55
branches:
56
# FlyCode considers unmapped branches as disabled.
57
# You may change that by using: pull-request|write|display|ignore
58
mode: ignore
59
​
60
apps:
61
text-resources:
62
- path: src/lang/*.json
63
format: formatjs
Copied!
​
Last modified 11d ago
Copy link