# Wir.Social Deploys And Rebrands Ocelot.Social [](https://github.com/IT4Change/wir.social/actions) [](https://github.com/IT4Change/wir.social/blob/LICENSE.md) [](https://discord.gg/AJSX9DCSUA) [](https://www.codetriage.com/ocelot-social-community/ocelot-social-deploy-rebranding) This repository is an in use template to rebrand, configure, and deploy [ocelot.social](https://github.com/Ocelot-Social-Community/Ocelot-Social) networks. The forked original repository is [Ocelot-Social-Deploy-Rebranding](https://github.com/Ocelot-Social-Community/Ocelot-Social-Deploy-Rebranding).
## Live demo __Try out our deployed [development environment](https://stage.ocelot.social).__ Visit our staging networks: - central staging network: [stage.ocelot.social](https://stage.ocelot.social). Logins: | email | password | role | | :--- | :--- | :--- | | `user@example.org` | 1234 | user | | `moderator@example.org` | 1234 | moderator | | `admin@example.org` | 1234 | admin | ## Usage Fork this repository to configure and rebrand it for your own [ocelot.social](https://github.com/Ocelot-Social-Community/Ocelot-Social) network. ### Package.Json And DockerHub Organisation Write your own data into the main configuration file: - [package.json](/package.json) Since all deployment methods described here depend on [Docker](https://docker.com) and [DockerHub](https://hub.docker.com), you need to create your own organisation on DockerHub and put its name in the [package.json](/package.json) file as your `dockerOrganisation`. ### Configure And Branding The next step is: - [Configure And Branding](/branding/README.md) ### Optional: Locally Testing Configuration And Branding Just in case you have Docker installed and run the following, you can check your branding locally: ```bash # in main folder $ docker-compose up # fill the database with an initial admin $ docker-compose exec backend yarn run prod:migrate init ``` The database is then initialised with the default administrator: - E-mail: admin@example.org - Password: 1234 For login or registration have a look in your browser at `http://localhost:3000/`. For the maintenance page have a look in your browser at `http://localhost:5000/`. ### Push Changes To GitHub Before merging these changes into the "master" branch on your GitHub fork repository, you need to configure the GitHub repository secrets. This is necessary to [publish](/.github/workflows/publish.yml) the Docker images by pushing them via GitHub actions to repositories belonging to your DockerHub organisation. First, go to your DockerHub profile under `Account Settings` and click on the `Security` tab. There you create an access token called `