Notes:
-
The script
compose.shis a wrapper for thedocker-composecommand - see Docker Compose docs. -
Docker and Docker Compose must be installed in your environment (they come bundled for Mac).
# Clone repo
mkdir yousician-test && cd $_ && git clone https://github.com/jourdanrodrigues-tests/test_4/ ../compose.sh dev up # Run servers
./compose.sh dev run backend pytest # Run tests./compose.sh up # Run servers
./compose.sh run backend pytest # Run testsAfter running the up command, you should have access to the frontend app at
http://localhost:3000/ and the backend app at
http://localhost:5000/
Check the original test requirements here. Also, check the UI reference.