This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
multi: support multiple RPC files #16
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
82edd7e
multi: support multiple RPC files
guggero 559a211
add enumerations section
zoedberg 44af6bb
Fix python code typo when using macaroons in calls
wamde 491e999
REST: add websockets example
guggero ff867e1
multi: pull in updates from upstream lord/slate
guggero df9beb4
multi: refactor to integrate loop
guggero e8ef006
source: don't track generated markdown in git
guggero 203b095
docker: dockerize update and build
guggero 40a7c7d
docker: refactor to use image
guggero 8eac0f2
docker: make target fork and commit configurable
guggero File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
FROM golang:1.13-buster | ||
|
||
# Install all required packages. We need Ruby >= 2.3.1 and Python >= 2.7.0. | ||
RUN apt-get update \ | ||
&& apt-get -y install \ | ||
ruby-full \ | ||
zlib1g-dev \ | ||
python3 \ | ||
python3-pip \ | ||
git \ | ||
build-essential \ | ||
rsync \ | ||
nodejs \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN gem install bundler \ | ||
&& pip3 install Jinja2 flask | ||
|
||
RUN mkdir /tmp/work && cd /tmp/work | ||
WORKDIR /tmp/work | ||
|
||
COPY config.rb Gemfile Gemfile.lock Vagrantfile /tmp/work/ | ||
RUN bundle config set path 'vendor/bundle' \ | ||
&& bundle install | ||
|
||
COPY ./docker/install_proto.sh /tmp/install_proto.sh | ||
RUN /tmp/install_proto.sh | ||
RUN go get -v -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc | ||
|
||
# Do some of the heavier lifting now so we already have some things cached. | ||
RUN git clone https://github.com/lightningnetwork/lnd /tmp/apidoc/lnd \ | ||
&& cd /tmp/apidoc/lnd \ | ||
&& make | ||
RUN git clone https://github.com/lightninglabs/loop /tmp/apidoc/loop \ | ||
&& cd /tmp/apidoc/loop \ | ||
&& go build ./... | ||
|
||
# Copy the files last so changes won't trigger a full rebuild of the image. | ||
COPY . /tmp/work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
ruby '>=2.3.1' | ||
source 'https://rubygems.org' | ||
|
||
# Middleman | ||
gem 'middleman', '~>4.2.1' | ||
gem 'middleman-syntax', '~> 3.0.0' | ||
gem 'middleman-autoprefixer', '~> 2.7.0' | ||
gem "middleman-sprockets", "~> 4.1.0" | ||
gem 'middleman', '~>4.3' | ||
gem 'middleman-syntax', '~> 3.0' | ||
gem 'middleman-autoprefixer', '~> 2.7' | ||
gem 'middleman-sprockets', '~> 4.1' | ||
gem 'rouge', '~> 2.0.5' | ||
gem 'redcarpet', '~> 3.4.0' | ||
gem 'nokogiri', '~> 1.10.4' | ||
gem 'sass' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤩