Oracle Database (xe-11g) schema with fake data to play with out-the-box.
Developed using docker image by @sath89.
- Clone repository:
git clone https://github.com/maximillian2/competitions-oracle.git
cd competitions-oracle
- Get docker image from repository:
docker pull sath89/oracle-xe-11g
- Setup the database data storage (change /my/oracle/data/ to your database directory):
docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle \
-v `pwd`/:/mnt/ sath89/oracle-xe-11g
- Get docker processes:
docker ps
- Launch install script using instance name from previous command:
docker exec -it <docker image name> /bin/bash -c 'cd /mnt; install_competitions_schema.sh'
- Enter needed information about new user.
- Clone repository:
git clone https://github.com/maximillian2/competitions-oracle.git
cd competitions-oracle
- Launch install script:
./install_competitions_schema.sh
Make sure user that is going to be deleted is disconnected from database!
Use -un
or --uninstall
argument:
./install_competitions_schema.sh --uninstall