##// END OF EJS Templates
docs: update dev setup instructions
lisaq -
r489:b044ae37 default
parent child Browse files
Show More
@@ -78,7 +78,7 b' following command from inside the cloned'
78 78
79 79 On the first run, this will take a while to download and optionally compile
80 80 a few things. The following runs will be faster. The development shell works
81 fine on MacOS and Linux platforms.
81 fine on both MacOS and Linux platforms.
82 82
83 83
84 84
@@ -111,10 +111,8 b' time operation::'
111 111 Start the Development Server
112 112 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113 113
114 When starting the development server, you should start the vcsserver as a
115 separate process. To do this, use one of the following examples:
116
117 1. Set the `start.vcs_server` flag in the ``dev.ini`` file to true. For example:
114 First, set the `start.vcs_server` flag in the ``dev.ini`` file to true.
115 For example:
118 116
119 117 .. code-block:: python
120 118
@@ -124,16 +122,18 b' 1. Set the `start.vcs_server` flag in th'
124 122 vcs.server = localhost:9900
125 123 vcs.server.log_level = debug
126 124
127 Then start the server using the following command: ``rcserver dev.ini``
125 From the rhodecode-vcsserver directory, start the development server in another
126 nix-shell, using the following command::
128 127
129 2. Start the development server using the following example::
128 pserve configs/development_pyramid.ini http_port=9900
130 129
131 rcserver --with-vcsserver dev.ini
130 In the adjacent nix-shell which you created for your development server, you may
131 now start CE with the following command::
132 132
133 3. Start the development server in a different terminal using the following
134 example::
133 rcserver dev.ini
135 134
136 vcsserver
135 You may also wish to use the option `--reload` with this command so that any
136 changes which you make in the code trigger an automatic refresh.
137 137
138 138
139 139 Run the Environment Tests
@@ -141,4 +141,12 b' Run the Environment Tests'
141 141
142 142 Please make sure that the tests are passing to verify that your environment is
143 143 set up correctly. RhodeCode uses py.test to run tests.
144 Please simply run ``make test`` to run the basic test suite.
144 While your instance is running, start a new nix-shell and simply run
145 ``make test`` to run the basic test suite.
146
147
148 Need Help?
149 ^^^^^^^^^^
150
151 Join us on Slack via https://rhodecode.com/join or post questions in our
152 Community Portal at https://community.rhodecode.com
General Comments 0
You need to be logged in to leave comments. Login now