This guide provides the minimal steps to run the project using Docker after cloning the repository.
-
Clone the repository:
git clone [https://github.com/your-username/SubSynapse.git ](https://github.com/your-username/SubSynapse.git ) cd SubSynapse -
Build the Docker image:
docker build -t subsynapse-dev . -
Run the container: This command maps your local
srcfolder for live-reloading.docker run -p 3000:3000 -v ./src:/app/src subsynapse-dev
Once the container is running, open your browser and go to:
This project uses .env files for managing environment variables. For production, you will need to create two files:
.env.productionin the root directory for the frontend.backend/.env.productionfor the backend.
You can use the backend/.env.example file as a template for the backend environment variables.
Important: These files contain sensitive information and should never be committed to version control. The .gitignore file is already configured to ignore these files.
To run the application in a production environment, you will need to populate these files with your production keys and configurations.