Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit f5293c2

Browse files
committed
Merge branch 'release/0.16.0'
2 parents 9edc0f9 + 982b9ff commit f5293c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2172
-934
lines changed

Dockerfile

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,32 @@
11
FROM ubuntu:xenial
22

3-
# Update apt and install wget
4-
RUN apt-get update && apt-get install -y wget curl apt-utils
3+
# Project directory
4+
WORKDIR /src/blockstack-browser
55

6-
# Add blockstack apt repo
7-
RUN wget -qO - https://raw.githubusercontent.com/blockstack/packaging/master/repo-key.pub | apt-key add -
8-
RUN echo 'deb http://packages.blockstack.com/repositories/ubuntu/ xenial main' > /etc/apt/sources.list.d/blockstack.list
6+
# Update apt and install wget
7+
RUN apt-get update && apt-get install -y wget curl apt-utils git
98

109
# Install node
1110
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
11+
RUN apt-get update && apt-get install -y nodejs
12+
13+
# Install cors-proxy
14+
RUN npm install -g corsproxy
15+
16+
# Alias the cors-proxy
17+
RUN ln /usr/bin/corsproxy /usr/bin/blockstack-cors-proxy
18+
19+
# Copy files into container
20+
COPY . .
21+
22+
# Install dependencies
23+
RUN npm install
24+
25+
# Build production assets
26+
RUN /src/blockstack-browser/node_modules/.bin/gulp prod
1227

13-
# Install blockstack-browser
14-
RUN apt-get update && apt-get install -y blockstack-browser
28+
# Setup script to run browser
29+
RUN echo '#!/bin/bash' >> /src/blockstack-browser/blockstack-browser
30+
RUN echo 'node /src/blockstack-browser/native/blockstackProxy.js 8888 /src/blockstack-browser/build' >> /src/blockstack-browser/blockstack-browser
31+
RUN chmod +x /src/blockstack-browser/blockstack-browser
32+
RUN ln /src/blockstack-browser/blockstack-browser /usr/bin/blockstack-browser

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Blockstack Browser [![CircleCI](https://img.shields.io/circleci/project/blockstack/blockstack-browser/master.svg)](https://circleci.com/gh/blockstack/blockstack-portal/tree/master) [![License](https://img.shields.io/github/license/blockstack/blockstack-portal.svg)](https://github.com/blockstack/blockstack-portal/blob/master/LICENSE.md) [![Slack](https://img.shields.io/badge/join-slack-e32072.svg?style=flat)](http://slack.blockstack.org/)
1+
# Blockstack Browser [![CircleCI](https://img.shields.io/circleci/project/blockstack/blockstack-browser/master.svg)](https://circleci.com/gh/blockstack/blockstack-browser/tree/master) [![License](https://img.shields.io/github/license/blockstack/blockstack-browser.svg)](https://github.com/blockstack/blockstack-browser/blob/master/LICENSE.md) [![Slack](https://img.shields.io/badge/join-slack-e32072.svg?style=flat)](http://slack.blockstack.org/)
22

33
The Blockstack Browser Portal allows you to explore the Blockstack internet.
44

@@ -15,7 +15,7 @@ The Blockstack Browser Portal allows you to explore the Blockstack internet.
1515

1616
## Releases
1717

18-
[Download the latest release](https://github.com/blockstack/blockstack-portal/releases)
18+
[Download the latest release](https://github.com/blockstack/blockstack-browser/releases)
1919

2020
## Developing
2121

@@ -27,10 +27,10 @@ Blockstack for macOS contains a Blockstack Core API endpoint & a CORS proxy.
2727

2828
*Please note these instructions have only been tested on macOS 10.12.4.*
2929

30-
1. Download and install the [latest release of Blockstack for Mac](https://github.com/blockstack/blockstack-portal/releases).
30+
1. Download and install the [latest release of Blockstack for Mac](https://github.com/blockstack/blockstack-browser/releases).
3131
1. Start Blockstack
3232
1. Option-click the Blockstack menu bar item and select "Enable Development Mode"
33-
1. Clone this repo: `git clone https://github.com/blockstack/blockstack-portal.git`
33+
1. Clone this repo: `git clone https://github.com/blockstack/blockstack-browser.git`
3434
1. Install node dependencies: `npm install`
3535
1. Click the Blockstack menu bar item and select "Copy Core API password"
3636
1. Run `npm run dev`
@@ -48,7 +48,7 @@ Blockstack for macOS contains a Blockstack Core API endpoint & a CORS proxy.
4848

4949
#### Part 2: Install Blockstack Portal
5050

51-
1. Clone this repo: `git clone https://github.com/blockstack/blockstack-portal.git`
51+
1. Clone this repo: `git clone https://github.com/blockstack/blockstack-browser.git`
5252
1. Install node dependencies: `npm install`
5353
1. Run `npm run dev-proxy` to start the CORS proxy
5454
1. Run `npm run dev`

app/images/icon-a-security.svg

Lines changed: 56 additions & 10 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading

app/images/icon-nav-avatar.svg

Lines changed: 17 additions & 0 deletions
Loading

app/images/icon-nav-home-hover.svg

Lines changed: 24 additions & 0 deletions
Loading

app/images/icon-nav-home.svg

Lines changed: 21 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)