Testing
Locally test the app during development
Run the app
Option 1: Run the app using Docker
For reproducibility and ease of use, you can use the provided docker-compose file:
Comment out the portion pointing at the already built image
image: chatgptclone/app:0.3.3Uncomment the portion pointing at the local source code
# image: node-api # build: # context: . # target: node-apiBuild your local source code for the
node-apitargetdocker build ` --target=node-api ` -t node-api ` .Docker-compose up
docker-compose up
Option 2: Run the app by installing on your machine
Install the prerequisites on your machine. See section above.
Run the app on your machine. See section above.
Run the tests
Install the global dependencies
Run tests
If everything goes well, you should see a passed message.

Last updated
Was this helpful?