Supersocial helps you to manage your social media pages and kick off marketing campaigns.
Docker, Docker-Compose and Git need to be installed.
- Clone the project:
git clone https://github.com/steffenjacobs/supersocial.git
. - Build and start Supersocial with
docker-compose up --build
. - Open
localhost:9001
in your web browser. - Set up a system twitter account to fetch the twitter trends and convert user locations.
- Enjoy!
To setup supersocial locally for development purposes, this can be done with Docker and Docker-Compose.
$ docker-compose up --build
# stop
$ docker-compose down
For development purposes, frontend and backend can be started separately.
- Case 1: Start Frontend locally:
- Use
npm start
to start the frontend on http://localhost:3000 - For the frontend to connec to the backend inside the docker-compose, the file
./frontend/src/DeploymentManager.tsx
has to be adjusted and the following two properties need to be modifiedlocal
has to be set totrue
andlocal8080
has to be set tofalse
.
- Use
- Case 2: Start Backend locally:
- The backend can be started via maven or directly from an IDE.
- For the frontend to connect to the local backend, the file
./frontend/src/DeploymentManager.tsx
has to be modified again:local
andlocal8080
have to be set totrue
.
Warning: All persistent data are stored in volumes. For a clean reboot, these has to be pruned:
$ docker-compose down
$ docker volume prune
Supersocial is available under the following URLs:
- http://localhost:9001/ - React Frontend
- http://localhost:9002 - Spring Boot Backend
Further documentation can be found here.