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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
912a25d1
authored
Jan 31, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: change order of init shell commands
parent
9acc4c77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
miscellaneous/devenv/nextinit.sh
+7
-1
No files found.
miscellaneous/devenv/nextinit.sh
View file @
912a25d1
#!/bin/bash
#!/bin/bash
for
i
in
cloudstore toplist django
do
sudo
stop
$i
done
set
-x
cd
/opt/webadmin/cloud
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 loaddata miscellaneous/dev.json
./manage.py update
./manage.py update
./manage.py loaddata miscellaneous/dev.json
set
+x
#Set up store server
#Set up store server
rm
-rf
/var/www/
*
rm
-rf
/var/www/
*
...
@@ -32,7 +39,6 @@ EOF
...
@@ -32,7 +39,6 @@ EOF
for
i
in
cloudstore toplist django
for
i
in
cloudstore toplist django
do
do
sudo
stop
$i
||
true
sudo
cp /opt/webadmin/cloud/miscellaneous/devenv/
$i
.conf /etc/init/
sudo
cp /opt/webadmin/cloud/miscellaneous/devenv/
$i
.conf /etc/init/
sudo
start
$i
sudo
start
$i
done
done
...
...
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