-
-
Save TheoChevalier/4a322a7f1b7b9787f3e05514bf8de69a to your computer and use it in GitHub Desktop.
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
theochevalier@MBP-2018:foundation.mozilla.org (remove-pipenv=)$ inv new-env | |
* Setting default environment variables | |
* Stripping quotes and making sure your DATABASE_URL and ALLOWED_HOSTS are properly setup | |
* Stopping project's containers and delete volumes if necessary | |
cd /Users/theochevalier/Documents/GitHub/foundation.mozilla.org && docker-compose down --volumes | |
Stopping foundationmozillaorg_postgres_1 ... done | |
Removing foundationmozillaorg_postgres_1 ... done | |
Removing foundationmozillaorg_watch-static-files_1 ... done | |
Removing network foundationmozillaorg_default | |
Removing volume foundationmozillaorg_postgres_data | |
* Building Docker images | |
cd /Users/theochevalier/Documents/GitHub/foundation.mozilla.org && docker-compose build | |
postgres uses an image, skipping | |
Building watch-static-files | |
Step 1/2 : FROM node:12.16.2-stretch-slim | |
---> bb86086cce7c | |
Step 2/2 : WORKDIR /app/ | |
---> Using cache | |
---> d34e8e43afe5 | |
Successfully built d34e8e43afe5 | |
Successfully tagged foundationmozillaorg_watch-static-files:latest | |
Building backend | |
Step 1/5 : FROM python:3.7.7-slim | |
---> d86f161fda14 | |
Step 2/5 : RUN apt-get update && apt-get install -y gettext --no-install-recommends && rm -rf /var/lib/apt/lists/* | |
---> Using cache | |
---> 6c09d165a5db | |
Step 3/5 : ENV PYTHONUNBUFFERED 1 | |
---> Using cache | |
---> 239daf2572d3 | |
Step 4/5 : ENV PYTHONDONTWRITEBYTECODE 1 | |
---> Using cache | |
---> c9614dcd733f | |
Step 5/5 : WORKDIR /app/ | |
---> Using cache | |
---> 23f8189e2c3d | |
Successfully built 23f8189e2c3d | |
Successfully tagged foundationmozillaorg_backend:latest | |
* Install Node dependencies | |
cd /Users/theochevalier/Documents/GitHub/foundation.mozilla.org && docker-compose run --rm watch-static-files npm install | |
Creating network "foundationmozillaorg_default" with the default driver | |
Creating volume "foundationmozillaorg_postgres_data" with default driver | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/watchpack/node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
removed 2 packages and audited 11033 packages in 13.752s | |
72 packages are looking for funding | |
run `npm fund` for details | |
found 3 high severity vulnerabilities | |
run `npm audit fix` to fix them, or `npm audit` for details | |
* Creating a Python virtualenv | |
cd /Users/theochevalier/Documents/GitHub/foundation.mozilla.org && docker-compose run --rm backend python -m venv dockerpythonvenv | |
Creating foundationmozillaorg_watch-static-files_1 ... done | |
Creating foundationmozillaorg_postgres_1 ... done | |
Error: [Errno 2] No such file or directory | |
theochevalier@MBP-2018:foundation.mozilla.org (remove-pipenv=)$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment