Skip to content

Commit b146753

Browse files
authored
Merge branch 'enext' into organizer-creation
2 parents 896f553 + 81281d4 commit b146753

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

README.rst

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Getting Started
5959
4. **Install Python packages**
6060

6161
Use ``uv`` to create virtual environment and install Python packages at the same time.
62+
**Make sure you are in app directory**
6263

6364
.. code-block:: sh
6465
@@ -88,10 +89,9 @@ From now on, you can do everything with the database without specifying password
8889

8990
.. code-block:: sh
9091
91-
dropdb eventyay-db
9292
psql eventyay-db
9393
94-
In case you cannot take adavantage of PostgreSQL *peer* mode, you need to create a *.env* file with these values:
94+
In case you cannot take advantage of PostgreSQL *peer* mode, you need to create a *.env* file with these values:
9595

9696
.. code-block:: sh
9797
@@ -102,9 +102,7 @@ In case you cannot take adavantage of PostgreSQL *peer* mode, you need to create
102102
103103
6. **Activate virtual environment**
104104

105-
After running ``uv sync```, ``uv`` will activate the virtual environment. But if you are back
106-
to work on the project another, we don't run ``uv``, then we activate the virtual environment by:
107-
105+
After running ``uv sync```, activate a virtual environment
108106

109107
.. code-block:: sh
110108
@@ -117,6 +115,18 @@ to work on the project another, we don't run ``uv``, then we activate the virtua
117115
118116
python manage.py migrate
119117
118+
If you see any Redis issues, Install Redis and start it:
119+
120+
**Update configuration**
121+
122+
123+
Edit ``app/eventyay.cfg`` and change Redis URLs from
124+
``redis://eventyay-next-redis`` **to**
125+
``redis://localhost:6379/``
126+
127+
128+
Do **not** edit the database numbers (0, 1, etc.).
129+
120130
8. **Create a superuser account** (for accessing the admin panel):
121131

122132
.. code-block:: bash
@@ -166,7 +176,7 @@ We assume your current working directory is the checkout of this repo.
166176
167177
5. **Create a superuser account** (for accessing the admin panel):
168178

169-
This should be necessary only once, since the database is persisted
179+
This should be necessary only once, since the database is persisted
170180
as docker volume. If you see strange behaviour, see the point 3.
171181
on how to reset.
172182

0 commit comments

Comments
 (0)