1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-09-08 20:34:10 +00:00
test-tutorial-framework/README.md
2018-03-31 20:21:26 +02:00

34 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# tutorial-framework test
This is an example playground project built via TFW.
It is a good starting point to build your own challenges from and will host automated tests in the future.
It also gives home to several useful scripts in the `hack` folder to speed up development.
## Getting started
TFW consists of 3 repositories:
- `baseimage-tutorial-framework` Docker baseimage
- `frontend-tutorial-framework` Angular frontend
- `test-tutorial-framework` (this repo)
See the documentation of each in their `README.md` files.
Getting started with creating challenges using the framework *setting up a development environment, building, running and such* is documented here.
To learn the stuff you need to know about TFW in order to get started you should consult the `baseimage-tutorial-framework` repo.
## Setting up a development environment
Just copy and paste the following command in a terminal:
`curl -fsSL https://git.io/vxBfj | bash`
> You have trust issues regarding the public key infrastructure? You can request a checksum authenticated version of the installer command from our team!
This will set up a special version of `test-tutorial-framework` just for you:
- the latest frontend is included in `solvable/frontend` with dependencies installed
- `solvable/Dockerfile` is pinned to use the latest TFW baseimage
After this, you can run use the `hack/tfw.sh` script to build and run your copy (just call it without any arguments to see usage information).