Skip to content

Commit

Permalink
OpenSourced Web Wallet v 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
onsightit committed Dec 18, 2016
0 parents commit 436b048
Show file tree
Hide file tree
Showing 4,308 changed files with 649,930 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
54 changes: 54 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Live settings file
settings.json

# SSL certs
sslcert/*.*

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
.swp
*.swp
*.log

*.komodoproject
19 changes: 19 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>WebWallet</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.eclipsesource.jshint.ui.builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.nodeclipse.ui.NodeNature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>tern.eclipse.ide.core.ternnature</nature>
</natures>
</projectDescription>
45 changes: 45 additions & 0 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
FROM ubuntu:16.04
MAINTAINER OnsightIT <[email protected]>

ENV REFRESHED_AT 20160925T0900Z

RUN localedef --force --inputfile=en_US --charmap=UTF-8 \
--alias-file=/usr/share/locale/locale.alias \
en_US.UTF-8
ENV LANG en_US.UTF-8

USER root

RUN apt-get --yes update
RUN apt-get --yes upgrade

# Install utils.
RUN apt-get install --yes git sudo openssh-server vim aptitude daemon nodejs inetutils-ping telnet cron

RUN useradd --user-group --create-home --shell /bin/bash healthcoin \
&& echo 'healthcoin:healthcoin' | chpasswd && adduser healthcoin sudo
RUN echo 'healthcoin ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

COPY web-wallet /home/healthcoin/
RUN chmod a+rwx /home/healthcoin/web-wallet
RUN chown healthcoin:healthcoin /home/healthcoin/web-wallet
RUN mkdir /home/healthcoin/.healthcoin
COPY coin.conf /home/healthcoin/.healthcoin/
RUN chown -R healthcoin:healthcoin /home/healthcoin/.healthcoin

USER healthcoin

# Install web-wallet
RUN cd ~ \
&& git clone https://github.com/onsightit/web-wallet.git

# Expose the nodejs port.
EXPOSE 8181
#EXPOSE 8383

# Add VOLUMEs to allow backup of data
VOLUME ['/home/healthcoin']

WORKDIR /home/healthcoin

CMD ./web-wallet
11 changes: 11 additions & 0 deletions Docker/coin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
rpcuser=rpcuser
rpcpassword=password
rpcconnect=node.yourcoin.com # RPC node does not run in this docker
rpcport=18184

rpcallowip=127.0.0.1
port=18186
gen=0
server=1
staking=1
addnode=node.yourcoin.com
Loading

0 comments on commit 436b048

Please sign in to comment.