-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from smartin015/rc
v2.0.0 master merge
- Loading branch information
Showing
72 changed files
with
6,655 additions
and
2,490 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 |
---|---|---|
|
@@ -8,3 +8,4 @@ dist | |
.DS_Store | ||
*.zip | ||
site/ | ||
volume/ |
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 |
---|---|---|
|
@@ -2,14 +2,16 @@ | |
jobs: | ||
include: | ||
- language: node_js | ||
node_js: node | ||
node_js: | ||
- 17 | ||
- language: python | ||
python: 3.6 | ||
python: 3.7 | ||
install: | ||
- pip install setuptools==60.9.0 # https://github.com/pypa/setuptools/issues/3293 | ||
- pip install OctoPrint # Need OctoPrint to satisfy req's of `__init__.py` | ||
- pip install -r requirements.txt | ||
script: | ||
- python -m unittest discover -s continuousprint -p "*_test.py" | ||
- python3 -m unittest discover -p "*_test.py" | ||
notifications: | ||
email: | ||
- [email protected] | ||
|
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,17 @@ | ||
FROM python:3.7 | ||
|
||
RUN adduser oprint | ||
USER oprint | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
RUN python -m pip install virtualenv && cd ~ \ | ||
&& git clone https://github.com/OctoPrint/OctoPrint && cd OctoPrint \ | ||
&& python -m virtualenv venv && source ./venv/bin/activate && python -m pip install -e .[develop,plugins] \ | ||
&& echo "source ~/OctoPrint/venv/bin/activate" >> ~/.bashrc \ | ||
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash \ | ||
&& . ~/.nvm/nvm.sh && nvm install v17 && nvm alias default v17 && nvm use default | ||
|
||
|
||
ADD . /home/oprint/continuousprint | ||
RUN cd ~/continuousprint && source ~/OctoPrint/venv/bin/activate && octoprint dev plugin:install | ||
CMD octoprint serve |
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.