4
edits
(kanban and issue link) |
|||
| Line 34: | Line 34: | ||
* prioritized bugs: https://github.com/orgs/sudoroom/projects/1/views/1 | * prioritized bugs: https://github.com/orgs/sudoroom/projects/1/views/1 | ||
* submit a bug: https://github.com/sudoroom/MemberMatters/issues | * submit a bug: https://github.com/sudoroom/MemberMatters/issues | ||
== Making a dev environment == | |||
(this assumes you already have git installed and docker setup!) | |||
# `cd` to a directory you want to put the repo | |||
# `git clone https://github.com/sudoroom/MemberMatters.git` | |||
# `git checkout -b branch-name` to make a new branch based of the default (sudoroom) | |||
# `touch /usr/app/django.log` (this is where the logs will go, and not creating it as a file seemed to create it as a dir which docker hated) | |||
# `cd ./docker` | |||
# `docker pull` (this make take a while) | |||
# `docker up -d` to start your docker image | |||
# `docker ps` will list your running containers processes that are created by the docker yaml file | |||
# `docker stop $(docker ps -q)` will stop all the containers by doing `docker stop` on all of the running containers (the -q flag lists by ID) | |||
==== where I got to/next steps ==== | |||
# doing all that, and then going to localhost:8000 takes me to the BMS login page instead of sudoroom's. possibly, since on my setup i ran `docker pull membermatters/membermatters` initially before following the rest of those setups, that is what broke it - i would think that the config files (the database?) would supercede that | |||
# there is also a dev.env file at the top of the repo that might be worth checking out. possible you could `docker run --env_file /path/to/dev.env` and it would use that env instead of the one in the [https://github.com/sudoroom/MemberMatters/blob/481e4bc8f4a3f614e05fcc98af74c9380c7a05a2/docker/docker-compose.yml#L33 docker-compose.yml] ? I don't know if there is a `docker compose` equivalent, need to keep poking at that | |||
= MEMBERSHIP PROCESS- DISCUSSION = | = MEMBERSHIP PROCESS- DISCUSSION = | ||
edits