This is set up for standard Codespaces command line operation, and optimized for AEA data editorial activities. It can be used for general Stata processing as well.
- Enable Codespaces for your Github account/organization
- Create a "Codespace secret":
- STATA_LIC_BASE64 - base64 encoded version of the Stata license file, see this discussion. It can be generated with this single command line:
gh secret set STATA_LIC_BASE64 -b"$(cat stata.lic | base64)" -v all -o YOURORG
from within Codespaces after a one-time upload of the stata.lic file. You can use the Stata license installed on your own PC or Mac.
- STATA_LIC_BASE64 - base64 encoded version of the Stata license file, see this discussion. It can be generated with this single command line:
- Go to your personal Codespaces space, and search for this repository to start a codespace, or, alternatively, fork this repository into your Github organization and launch Codespaces from the green button menu.
- the public version of this repository does not contain a pre-built image.
- the private version of this repository does, and is available to individuals associated with the Labor Dynamics Institute
- building a new image on the fly can take up 20 minutes!
For more information about required setup (in particular how to use Stata in this image), see https://github.com/labordynamicsinstitute/codespaces-stata-r-skeleton.