Revert some merge stuff
This commit is contained in:
@@ -32,10 +32,10 @@ First install [python](https://wiki.python.org/moin/BeginnersGuide/Download). Th
|
|||||||
python3 -m pip install poetry
|
python3 -m pip install poetry
|
||||||
```
|
```
|
||||||
|
|
||||||
The easiest integration with VSCode is to have poetry install virtual environment in project folder, configured with
|
The easiest integration with VSCode is to have poetry install virtual environment in project folder, configured with CMD
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
poetry config virtualenvs.in-project true
|
python3 -m poetry config virtualenvs.in-project true
|
||||||
```
|
```
|
||||||
|
|
||||||
### Node
|
### Node
|
||||||
@@ -71,12 +71,6 @@ Install dependencies
|
|||||||
poetry install
|
poetry install
|
||||||
```
|
```
|
||||||
|
|
||||||
### npm scripts
|
|
||||||
|
|
||||||
We use Node.js for few development tasks, like linting. Easiest way to install Node is [nvm](https://github.com/nvm-sh/nvm).
|
|
||||||
|
|
||||||
TODO: List scripts
|
|
||||||
|
|
||||||
### Initializing data
|
### Initializing data
|
||||||
|
|
||||||
Run the following `manage.py` commands to initialize a new database. Do not run these in production without thinking!
|
Run the following `manage.py` commands to initialize a new database. Do not run these in production without thinking!
|
||||||
@@ -91,11 +85,17 @@ python manage.py createdummydata # creates dummy members to the member regist
|
|||||||
### Running
|
### Running
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python manage.py runserver 0.0.0.0:8000
|
python manage.py runserver
|
||||||
```
|
```
|
||||||
|
|
||||||
Visit [https://localhost:8000](https://localhost:8000) in your browser!
|
Visit [https://localhost:8000](https://localhost:8000) in your browser!
|
||||||
|
|
||||||
|
Using address `0.0.0.0` will bind to all IP addresses. Using `localhost` will only bind to your machine.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python manage.py runserver 0.0.0.0:8000
|
||||||
|
```
|
||||||
|
|
||||||
### Development workflow
|
### Development workflow
|
||||||
|
|
||||||
When you start working on a feature, create a feature branch for your changes. These feature branches should be prefixed with `feature`.
|
When you start working on a feature, create a feature branch for your changes. These feature branches should be prefixed with `feature`.
|
||||||
|
|||||||
Reference in New Issue
Block a user