Skip to content

Commit

Permalink
Merge pull request #1135 from VirtualFlyBrain/feature/python_server_f…
Browse files Browse the repository at this point in the history
…or_development

adding simple script and alternative xmi for development
  • Loading branch information
ddelpiano authored May 13, 2021
2 parents a90a8fe + 687ae56 commit 2b197eb
Show file tree
Hide file tree
Showing 2 changed files with 1,152 additions and 0 deletions.
10 changes: 10 additions & 0 deletions model/start_dev_server.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cp vfb.xmi vfb.bak
mv vfb-dev.xmi vfb.xmi
if [[ "$(python --version)" =~ "3." ]]; then
python -m http.server 8989
else
python -m SimpleHTTPServer 8989
fi
echo "test test"
mv vfb.xmi vfb-dev.xmi
mv vfb.bak vfb.xmi
Loading

0 comments on commit 2b197eb

Please sign in to comment.