Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
515adbc9
authored
Jan 31, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: add devenv dump
parent
c3694158
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
112 additions
and
2 deletions
+112
-2
miscellaneous/devenv/dev.json
+110
-0
miscellaneous/devenv/nextinit.sh
+2
-2
No files found.
miscellaneous/devenv/dev.json
0 → 100644
View file @
515adbc9
[
{
"pk"
:
7
,
"model"
:
"auth.user"
,
"fields"
:
{
"username"
:
"test"
,
"first_name"
:
""
,
"last_name"
:
""
,
"is_active"
:
true
,
"is_superuser"
:
true
,
"is_staff"
:
true
,
"last_login"
:
"2013-01-30T23:33:32Z"
,
"groups"
:
[],
"user_permissions"
:
[],
"password"
:
"pbkdf2_sha256$10000$LbTrj1qFLbLq$9F2K+3WXE/cb+/EjxwTf+1bmhKxm37MuTPZ/l7vyzn0="
,
"email"
:
""
,
"date_joined"
:
"2013-01-16T12:36:01Z"
}
},
{
"pk"
:
9
,
"model"
:
"one.template"
,
"fields"
:
{
"name"
:
"Ubuntu 12.04 desktop"
,
"created_at"
:
"2013-01-31T10:11:08Z"
,
"access_type"
:
"nx"
,
"instance_type"
:
3
,
"owner"
:
1
,
"disk"
:
1
,
"network"
:
2
}
},
{
"pk"
:
10
,
"model"
:
"one.template"
,
"fields"
:
{
"name"
:
"Windows 7"
,
"created_at"
:
"2013-01-31T10:11:21Z"
,
"access_type"
:
"rdp"
,
"instance_type"
:
2
,
"owner"
:
1
,
"disk"
:
1
,
"network"
:
2
}
},
{
"pk"
:
1
,
"model"
:
"store.setting"
,
"fields"
:
{
"value"
:
"True"
,
"key"
:
"basic_auth"
}
},
{
"pk"
:
2
,
"model"
:
"store.setting"
,
"fields"
:
{
"value"
:
"False"
,
"key"
:
"verify_ssl"
}
},
{
"pk"
:
3
,
"model"
:
"store.setting"
,
"fields"
:
{
"value"
:
"False"
,
"key"
:
"ssl_auth"
}
},
{
"pk"
:
4
,
"model"
:
"store.setting"
,
"fields"
:
{
"value"
:
"IQu8Eice"
,
"key"
:
"store_client_pass"
}
},
{
"pk"
:
5
,
"model"
:
"store.setting"
,
"fields"
:
{
"value"
:
"admin"
,
"key"
:
"store_client_user"
}
},
{
"pk"
:
6
,
"model"
:
"store.setting"
,
"fields"
:
{
"value"
:
"/opt/webadmin/cloud/client.key"
,
"key"
:
"store_client_key"
}
},
{
"pk"
:
7
,
"model"
:
"store.setting"
,
"fields"
:
{
"value"
:
"/opt/webadmin/cloud/client.crt"
,
"key"
:
"store_client_cert"
}
},
{
"pk"
:
8
,
"model"
:
"store.setting"
,
"fields"
:
{
"value"
:
"http://localhost:9000"
,
"key"
:
"store_url"
}
}
]
miscellaneous/devenv/nextinit.sh
View file @
515adbc9
...
@@ -4,6 +4,7 @@ cd /opt/webadmin/cloud
...
@@ -4,6 +4,7 @@ cd /opt/webadmin/cloud
./manage.py syncdb
--noinput
./manage.py syncdb
--noinput
./manage.py migrate
./manage.py migrate
./manage.py loaddata miscellaneous/dump.json
./manage.py loaddata miscellaneous/dump.json
./manage.py loaddata miscellaneous/dev.json
./manage.py update
./manage.py update
#Set up store server
#Set up store server
...
@@ -36,5 +37,4 @@ disown $!
...
@@ -36,5 +37,4 @@ disown $!
cd
/opt/webadmin/cloud/miscellaneous/devenv
cd
/opt/webadmin/cloud/miscellaneous/devenv
sudo
cp vimrc.local /etc/vim/vimrc.local
sudo
cp vimrc.local /etc/vim/vimrc.local
exit
0
/opt/webadmin/cloud/manage.py changepassword
test
||
/opt/webadmin/cloud/manage.py createsuperuser
test
||
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment