Coder Social home page Coder Social logo

txbits / txbitsdeployer Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 22.0 228 KB

An Ansible project to help deploy TxBits in production.

Shell 30.35% DIGITAL Command Language 2.08% PLpgSQL 11.28% Nginx 3.54% JavaScript 5.39% Vim Script 27.00% Python 20.35%

txbitsdeployer's Introduction

TxBits

Build Status

An open source Bitcoin and crypto currency exchange

https://www.txbits.org

Dev environment setup TL;DR

  1. Get jdk-8
  2. Get postgres 9.3+ running on localhost with database name txbits_testnet, superuser user and password password
  3. Run ./txbits.sh run
  4. Log in at http://localhost:9000 as [email protected] with password qwerty123
  5. To run unit tests, create a database named txbits_test and run ./txbits.sh test
  6. Read the wiki pages https://github.com/txbits/txbits/wiki

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.


Copyright (C) 2014-2015 Viktor Stanchev & Kirk Zathey

txbitsdeployer's People

Contributors

vikstrous avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

txbitsdeployer's Issues

Missing files

I've been working on a project using TxBits. I had no problems with the initial Tx Bits project. I ran into issues using the deployer. Running the deployer will give 2 errors. gen.py and initial_deploy is where the errors come from. This is the output with the errors:

python3 ./gen.py production.json

creating production/opendkim
sh: 1: opendkim-genkey: not found
Traceback (most recent call last):
File "/usr/lib/python3.4/shutil.py", line 522, in move
os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: 'default.private' -> 'production/opendkim/default.private'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./gen.py", line 204, in
main()
File "./gen.py", line 71, in main
mv('default.private', pfx('opendkim/default.private'))
File "./gen.py", line 33, in mv
shutil.move(from_, to)
File "/usr/lib/python3.4/shutil.py", line 534, in move
copy2(src, real_dst)
File "/usr/lib/python3.4/shutil.py", line 244, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.4/shutil.py", line 107, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'default.private'
root@cryptoserver:/home/lordacid/Desktop/Underworld/playbook/secrets# python3 ./gen.py
usage: gen.py [-h] config.json
gen.py: error: the following arguments are required: config.json

./initial_deploy.sh: 8: ./initial_deploy.sh: ansible-playbook: not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.