Cheesecake Stellar Token Factory is composed by:
- Frontend: React web application
- Backend: Python with Django
- Stellar Payments: Stellar Payments React web application
To run this project, there are some recommendations about the Docker Desktop resources configuration. You can find how to edit the resources settings here.
- CPUs: 1
- Memory: 1GB
To start all the applications locally, follow these steps:
1. To change and overide pre-defined environment variables, you can create a .env file in the KEY=VALUE pair format in the project's root directory, so Docker can pass these environment variables to the running applications. Check the .env.example to see available environment variables.
2. Start the applications:
$ make docker-runThis will download, build the applications and configure all the infrastructure needed to run them, which will respond in the following routes:
- Frontend:
http://localhost:3000 - Stellar Payments:
http://localhost:4000 - Backend:
http://localhost:8000
3. To stop the applications:
$ make docker-stopIf you want to, you can run the components separatly. For example, if you want to start only the Frontend, you can run:
$ make docker-run-frontendYou can find all possible ways of running the components in the Makefile:
$ make help
