Skip to content

Commit

Permalink
rename script
Browse files Browse the repository at this point in the history
  • Loading branch information
SpliiT committed May 17, 2024
1 parent 38a7319 commit d5fdf4f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,5 @@ uploads
schemas.json
geodeapp_back.egg-info
lock
time
time
build
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN apt-get update && apt-get install -y wget

ENV GEODE_LICENSE_LOCATION=/server/geode.lic

CMD "run_server"
CMD "geodeapp_server"

EXPOSE 5000
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
"Bug Tracker" = "https://github.com/Geode-solutions/geodeapp_back/issues"

[project.scripts]
run_server = "geodeapp_back.app:run_server"
geodeapp_server = "geodeapp_back.app:run_server"

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
Expand Down
3 changes: 1 addition & 2 deletions src/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from src.geodeapp_back.app import app, run_server
from src.geodeapp_back.app import app


@pytest.fixture
Expand All @@ -9,6 +9,5 @@ def client():
app.config["SERVER_NAME"] = "TEST"
app.config["DATA_FOLDER"] = "./data/"
client = app.test_client()
# client = run_server()
client.headers = {"Content-type": "application/json", "Accept": "application/json"}
yield client

0 comments on commit d5fdf4f

Please sign in to comment.