Skip to content

Commit

Permalink
Add Makefile and README info for non-docker devs
Browse files Browse the repository at this point in the history
  • Loading branch information
castaway committed Aug 24, 2024
1 parent 03dfcdf commit 7996ec9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ shell:
deploy:
docker build . -f ./Dockerfile.prod -t ukhackspacefoundation/website:latest
docker push ukhackspacefoundation/website:latest

nd_deps:
poetry install --no-root

nd_run:
poetry run ./manage.py migrate
DJANGO_SETTINGS_MODULE=hsf.dev_settings poetry run ./manage.py runserver 0.0.0.0:8000
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ To update all dependencies to their latest versions:
Once you've updated dependencies, you'll need to rebuild the Docker image by re-running
`docker compose up --build` (you don't need to run `docker compose down`).

## Installing & Running without docker

To install dependencies locally, use:

$ make nd_deps

To run the website on port 8000:

$ make nd_run

# Deployment

See [docs/deployment.md](docs/deployment.md) for deployment info.

0 comments on commit 7996ec9

Please sign in to comment.