https://github.com/cryptapi/cryptapi-whitelabel
White Label solution for CryptAPI
https://github.com/cryptapi/cryptapi-whitelabel
Last synced: about 1 month ago
JSON representation
White Label solution for CryptAPI
- Host: GitHub
- URL: https://github.com/cryptapi/cryptapi-whitelabel
- Owner: cryptapi
- Created: 2019-11-18T20:12:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T16:48:56.000Z (over 4 years ago)
- Last Synced: 2025-02-18T06:15:56.530Z (10 months ago)
- Language: HTML
- Size: 4.08 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# CryptAPI's WhiteLabel setup
CryptAPI's WhiteLabel setup in Django
## Requirements:
```
Docker
Docker-compose
Git
```
## Install
```bash
git clone https://github.com/cryptapi/cryptapi-whitelabel
```
## Configuration
Edit the following files:
##### docker-compose.yml
Set `POSTGRES_PASSWORD` to the DB password you wish to set
##### conf/web/httpd.conf
Set `ServerName`, `ServerAlias` and `ServerAdmin` inside the `` tag
> If you wish to set HTTPS, uncomment the 443 `` tag and set the same items as above.
##### volumes/web/CAWhiteLabel/settings.py
Set `SECRET_KEY` to a randomly-generated string ( ! Important ! )
Set `DEBUG` to False
Add your domain (eg. example.com) to `ALLOWED_HOSTS`
Set Database password to the password you set on `docker-compose.yml`
## First Start
Run the following commands:
```shell script
docker-compose up -d
docker-compose exec web bash
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py loaddata default_settings.json
python3 manage.py collectstatic
```
> Reply yes
```shell script
python3 manage.py createsuperuser
```
> Input your admin username
> Input your email (optional)
> Input and confirm your admin password
## Settings
1. Open the admin panel, which is by default on `/admin`
2. Go to Settings and open the first one ("White Label")
3. Set the settings for your service.
> Do not change default CryptAPI settings unless CryptAPI has updated fee settings.
## Customize the layout
If you want to customize the layout, change the files in the following directories:
CSS files:
* volumes/web/static/css/
JS files:
* volumes/web/static/js/
HTML template files:
* volumes/web/index/templates/
## Help
Need help?
Contact us @ https://cryptapi.io/contact/