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
Last revision Both sides next revision
public:setting_up_test_development_environment [2018/05/05 14:41]
huyeng
public:setting_up_test_development_environment [2020/07/10 05:39]
arkyarky Need rewrite
Line 1: Line 1:
 +FIXME **This page is outdated. Please help completing the wiki updates.**\\ //(remove this paragraph once the page is updated)//
 ====== Setting up test & development environment ====== ====== Setting up test & development environment ======
  
Line 177: Line 178:
 == 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>​ OR <​code>​paster --plugin=ckan sysadmin add admin  ​-c ~/​etc/​ckan/​default/​development.ini +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 USERNAME ​-c ~/​etc/​ckan/​default/​development.ini 
-</​code>​for creating a new user with sysadmin permissions,​ or attribute those permissions to an existing user.+</​code>​for creating a new user with sysadmin permissions,​ or attribute those permissions to an existing user. USERNAME is the account name, you can name whatever eg. admin or user1  ​
  
 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