Home

Awesome

Wellcome to CloudBank

It is the most popular and original CloudCoin python script. The code is exceptionally portable and has been used successfully on a very broad range of ubuntu systems and hardware.

Contact

Gitter GitHub Issues

Getting Started

The CloudBank Documentation site hosts the CloudBank homepage, which has a Quick Start section.

Operating systemStatus
Ubuntu and macOSTravisCI
WindowsAppVeyor
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install vim -y && sudo apt-get install python-dev -y && sudo apt-get install libevent-dev -y &&  sudo apt-get install python-virtualenv -y && apt-get install git -y

Install python last version..

sudo apt-get install --reinstall language-pack-en -y
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.3
sudo apt-get install python3-pip
apt install python-pip
pip install --upgrade virtualenv

Other configurations..

virtualenv -p python3 venv
cd venv
. bin/activate
git clone https://github.com/omgbbqhaxx/cloudbankproject.git
mv cloudbankproject cloudbank && cd cloudbank
pip install -r requirements.txt
pipenv install requests
export DJANGO_SETTINGS_MODULE=cloudbank.settings
pip install -U "celery[redis]"

Your need install Redis on your server because celery work with redis server.

Step by step installation from here NEWER FORGET TO CHANGE PASSWORD WITH YOUR PW FROM REDİS.CONF.!

pip install celery && sudo apt-get update -y && sudo apt-get install build-essential tcl -y && cd /tmp && curl -O http://download.redis.io/redis-stable.tar.gz && tar xzvf redis-stable.tar.gz && cd redis-stable && sudo make install && make && make test
sudo mkdir /etc/redis && cd /etc/redis && wget https://gist.githubusercontent.com/omgbbqhaxx/03b31c2ed319bc987ddb7c8d77c33861/raw/d04c90c96e950c7fb2528774259c3843b20fb7a3/redis.conf
cd /etc/systemd/system/ && wget  https://raw.githubusercontent.com/omgbbqhaxx/cloudbankproject/master/redis.service
sudo adduser --system --group --no-create-home redis
sudo mkdir /var/lib/redis
sudo chown redis:redis /var/lib/redis
sudo chmod 770 /var/lib/redis
sudo systemctl start redis
sudo systemctl status redis
redis-cli
ping

4p2p github helper comments.

git clone https://github.com/omgbbqhaxx/cloudbankproject.git
git pull
git fetch --all
git reset --hard origin/master

Gunicorn configurations

The simplest way to install it is to use pip, a tool for installing and managing Python packages:

cd /opt/venv/bin
wget https://raw.githubusercontent.com/omgbbqhaxx/cloudbankproject/master/gunicorn_start
chmod u+x gunicorn_start
. gunicorn_start

Circus: A Process & Socket Manager configurations

The simplest way to install it is to use pip, a tool for installing and managing Python packages:

sudo apt-get install libzmq-dev libevent-dev python-dev python-virtualenv
cd /opt/venv/bin
. activate
git clone https://github.com/omgbbqhaxx/circus-web.git
cd circus-web
python setup.py build
python setup.py install
pip install chaussette

example.ini Show docs from here,

[watcher:startserver]
cmd = /opt/venv/bin/gunicorn_start
numprocesses = 1

[watcher:starttcpconnections]
cmd = python /opt/venv/cloudbank/p2p.py
numprocesses = 1

[watcher:startcelery]
cmd = celery -A cloudbank worker --workdir /opt/venv/cloudbank  -l info -B
numprocesses = 1

The file is then passed to circusd:

circusd example.ini
circusd --daemon example.ini
circusctl quit --waiting

Finally we can complate nginx configuration!

NEWER FORGET TO CHANGE SERVER_NAME WITH YOUR IP ADDRESS FROM NGİNXCONF.!

sudo apt-get install nginx
sudo service nginx start
cd /etc/nginx/sites-available
wget https://raw.githubusercontent.com/omgbbqhaxx/cloudbankproject/master/nginxconf
ln -s /etc/nginx/sites-available/nginxconf /etc/nginx/sites-enabled/nginxconf
cd /opt/venv/
mkdir logs && cd logs
touch nginx-access.log && touch nginx-error.log

REST APIs

GET Endpoints

POST Endpoints


Donations

License

License

All contributions are made under the GNU General Public License v3. See LICENSE.