User Tools

Site Tools


public:setting_up_test_development_environment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
public:setting_up_test_development_environment [2017/05/26 11:11]
127.0.0.1 external edit
public:setting_up_test_development_environment [2018/05/05 14:41]
huyeng
Line 100: Line 100:
  
 * If they are correctly provided, then try to change the location of Ubuntu servers to different regions that is closer to your location. ​ * If they are correctly provided, then try to change the location of Ubuntu servers to different regions that is closer to your location. ​
-  * Unordered List ItemGo ​to "​ansible/​roles/​common-ubuntu/​files",​ you will see a series of .list files that contain Ubuntu servers from different regions. ​+  * Go to "​ansible/​roles/​common-ubuntu/​files",​ you will see a series of .list files that contain Ubuntu servers from different regions. ​
   * Then update the source file name in **main.yml** located in "​ansible\roles\common-ubuntu\tasks"​.   * Then update the source file name in **main.yml** located in "​ansible\roles\common-ubuntu\tasks"​.
   * For example, in line 3:      * For example, in line 3:   
Line 177: Line 177:
 == Creating a system administrator user == == Creating a system administrator user ==
  
-After activating the python environment with <​code>​. ~/​.virtualenvs/​ckan/​bin/​activate</​code>,​ you can execute <​code>​paster --plugin=ckan sysadmin add USERNAME ~/​etc/​ckan/​default/​development.ini</​code>​ for creating a new user with sysadmin permissions,​ or attribute those permissions to an existing user.+After activating the python environment with <​code>​. ~/​.virtualenvs/​ckan/​bin/​activate</​code>,​ you can execute <​code>​paster --plugin=ckan sysadmin add USERNAME ~/​etc/​ckan/​default/​development.ini</​code>​ OR <​code>​paster --plugin=ckan sysadmin add admin  -c ~/​etc/​ckan/​default/​development.ini 
 +</​code>​for creating a new user with sysadmin permissions,​ or attribute those permissions to an existing user.
  
 Once this is done and password has been set, you can login into CKAN under http://​192.168.33.10:​8081/​user/​login. Once this is done and password has been set, you can login into CKAN under http://​192.168.33.10:​8081/​user/​login.
public/setting_up_test_development_environment.txt · Last modified: 2020/08/13 03:27 by arkyarky