diff --git a/.gitignore b/.gitignore index 3c67d8476..dc03d3246 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ yarn-error.log* # typescript *.tsbuildinfo +.history \ No newline at end of file diff --git a/Makefile b/Makefile index fb5abe376..2392ff422 100644 --- a/Makefile +++ b/Makefile @@ -45,11 +45,6 @@ install: clean clean: docker-compose down --volumes - -dev: - docker-compose up --scale scrapers=0 -d - make -j 2 dev-docs dev-frontend # Run concurrently - stop: docker-compose down @@ -73,7 +68,10 @@ frontend/.env.local: .env sed -i 's/POSTGREST_URL=http:\/\/backend:3500/POSTGREST_URL=http:\/\/localhost\/api\/v1/g' frontend/.env.local sed -i 's/RSD_AUTH_URL=http:\/\/auth:7000/RSD_AUTH_URL=http:\/\/localhost\/auth/g' frontend/.env.local -dev-frontend: frontend/.env.local +dev: frontend/.env.local + docker-compose build # build all services + docker-compose up --scale data-generation=1 --scale scrapers=0 --scale frontend=0 -d + # open http://localhost:3000 to see the application running cd frontend && yarn dev # run end-to-end test locally