Skip to content
Permalink
Browse files
added config script
  • Loading branch information
aa7401 committed Nov 22, 2020
1 parent 17f98b3 commit e30991f443f9ccd2e6881388c893f722ade03693
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 22 deletions.
6 .codio
@@ -0,0 +1,6 @@

{
"preview": {
"Live Server": "https://{{domain}}/{{index}}"
}
}
@@ -0,0 +1,6 @@

{
"preview": {
"Live Server": "https://{{domain}}/{{index}}"
}
}
@@ -22,7 +22,7 @@
<li><a href="#login">Log In</a></li>
<li><a href="#logout">Log out</a></li>
<li><a href="#register">Register</a></li>
<li><a href="#home">View Lists</a></li>
<li><a href="#home">Foo</a></li>
</ul>
</nav>
<aside class="hidden">
@@ -21,27 +21,27 @@ sudo chown -R codio:codio .

# destructive section start

# echo
# echo "============== ${green}DELETING${reset} OLD FILES ==================="
# rm -rf *
# rm -rf .*
# rm -rf .guides
# rm -rf .git
# echo
# echo "============== CLONING ${green}REPOSITORY${reset} ==================="
# git clone https://github.coventry.ac.uk/web/Codio-API-Template.git .
# git remote rm origin
# rm -rf install.sh # delete this script so it can't be run from inside the project!
# rm .codio
# mv codio.json .codio
# echo
# echo "============= DELETING ${green}TEMPORARY FILES${reset} =============="
# rm -rf *.db # delete any old database files
# rm -rf package-lock.json
# rm -rf .settings
# rm -rf .sqlite_history
# rm -rf .bash_history
# rm -rf .git # delete the repository we have cloned (if any)
echo
echo "============== ${green}DELETING${reset} OLD FILES ==================="
rm -rf *
rm -rf .*
rm -rf .guides
rm -rf .git
echo
echo "============== CLONING ${green}REPOSITORY${reset} ==================="
git clone https://github.coventry.ac.uk/web/Codio-PWA-Template.git .
git remote rm origin
rm -rf install.sh # delete this script so it can't be run from inside the project!
rm .codio
mv codio.json .codio
echo
echo "============= DELETING ${green}TEMPORARY FILES${reset} =============="
rm -rf *.db # delete any old database files
rm -rf package-lock.json
rm -rf .settings
rm -rf .sqlite_history
rm -rf .bash_history
rm -rf .git # delete the repository we have cloned (if any)

# end of distructive section

0 comments on commit e30991f

Please sign in to comment.