-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
3,208 additions
and
11,373 deletions.
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,34 @@ | ||
# Use the official Ruby image from the Docker Hub | ||
FROM ruby:2.7 | ||
|
||
# Install dependencies | ||
RUN apt-get update -qq && apt-get install -y \ | ||
build-essential \ | ||
libpq-dev \ | ||
nodejs \ | ||
pandoc \ | ||
python3-pip | ||
|
||
# Install pandoc-xnos filters via pip | ||
RUN pip3 install pandoc-xnos pandoc-fignos pandoc-eqnos pandoc-tablenos pandoc-secnos --user | ||
|
||
# Add the user's local bin directory to the PATH | ||
ENV PATH=$PATH:/root/.local/bin | ||
|
||
# Update RubyGems to a compatible version | ||
RUN gem update --system 3.3.22 | ||
|
||
# Set the working directory | ||
WORKDIR /usr/src/app | ||
|
||
# Copy the Gemfile and Gemfile.lock into the image | ||
COPY Gemfile* ./ | ||
|
||
# Install the gems specified in the Gemfile | ||
RUN gem install bundler:2.4.17 && bundle install | ||
|
||
# Copy the rest of the application code into the image | ||
COPY . . | ||
|
||
# Expose port 4000 to the host | ||
EXPOSE 4000 |
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
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,3 @@ | ||
# _config_docker.yml | ||
url: "http://localhost:4000" | ||
baseurl: "/PHYS-3330" |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,40 +1,34 @@ | ||
<div class="navbar navbar-default navbar-fixed-top" role="navigation"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1" aria-expanded="false"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
|
||
<a class="navbar-brand" href="{{ site.url }}{{ site.baseurl }}/">PHYS 3330 - Electronics Lab</a> | ||
</div> | ||
<div class="collapse navbar-collapse" id="navbar-collapse-1"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/">Home</a></li> | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/lab-guides">Lab Guides</a></li> | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/report-lab-issue">Report a Lab Issue</a></li> | ||
<li class="dropdown"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1" aria-expanded="false"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="{{ site.baseurl }}/">PHYS 3330 - Electronics Lab</a> | ||
</div> | ||
<div class="collapse navbar-collapse" id="navbar-collapse-1"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li><a href="{{ site.baseurl }}/">Home</a></li> | ||
<li><a href="{{ site.baseurl }}/lab-guides">Lab Guides</a></li> | ||
<li><a href="{{ site.baseurl }}/report-lab-issue">Report a Lab Issue</a></li> | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">More Resources<span class="caret"></span></a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/manuals-data-sheets">Data Sheets and Instrument Manuals</a></li> | ||
{% comment %} <li><a href="{{ site.url }}{{ site.baseurl }}/mathematica-resources">Mathematica Resources</a></li> {% endcomment %} | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/resources/complex">Complex Number Review</a></li> | ||
{% comment %} <li><a href="{{ site.url }}{{ site.baseurl }}/lab-guides/lsa3">LTspice</a></li> {% endcomment %} | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/final-project-examples">Final Project Examples</a></li> | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/lab-notebook">Lab Notebook</a></li> | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/lab-safety">Lab Safety</a></li> | ||
<li><a href="{{ site.url }}{{ site.baseurl }}/soldering">Soldering Resources</a></li> | ||
|
||
|
||
<!-- <li role="separator" class="divider"></li> | ||
<li><a href="#">Separated link</a></li> | ||
<li role="separator" class="divider"></li> | ||
<li><a href="#">One more separated link</a></li> --> | ||
<li><a href="{{ site.baseurl }}/manuals-data-sheets">Data Sheets and Instrument Manuals</a></li> | ||
{% comment %} <li><a href="{{ site.baseurl }}/mathematica-resources">Mathematica Resources</a></li> {% endcomment %} | ||
<li><a href="{{ site.baseurl }}/resources/complex">Complex Number Review</a></li> | ||
{% comment %} <li><a href="{{ site.baseurl }}/lab-guides/lsa3">LTspice</a></li> {% endcomment %} | ||
<li><a href="{{ site.baseurl }}/final-project-examples">Final Project Examples</a></li> | ||
<li><a href="{{ site.baseurl }}/lab-notebook">Lab Notebook</a></li> | ||
<li><a href="{{ site.baseurl }}/lab-safety">Lab Safety</a></li> | ||
<li><a href="{{ site.baseurl }}/soldering">Soldering Resources</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.