anon %!s(int64=7) %!d(string=hai) anos
pai
achega
c82d4f9df9
Modificáronse 3 ficheiros con 4 adicións e 3 borrados
  1. 2 0
      .gitignore
  2. 2 1
      Makefile
  3. 0 2
      make_env

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+/.env
+/.idea

+ 2 - 1
Makefile

@@ -1,4 +1,4 @@
-include make_env
+include .env
 
 NAME ?= ipfsnode:latest
 ID ?= ipfstest
@@ -15,6 +15,7 @@ shell:
 
 run:
 	mkdir -p $(LOCAL_DIR)
+	mkdir -p $(LOCAL_STAGING_DIR)
 	docker run --name $(ID) -v $(LOCAL_STAGING_DIR):/home/ipfs/staging -v $(LOCAL_DIR):/home/ipfs/.ipfs $(NAME)
 
 start:

+ 0 - 2
make_env

@@ -1,2 +0,0 @@
-LOCAL_DIR = /Users/user/ipfsdata
-LOCAL_STAGING_DIR = /Users/user/staging