diff --git a/_config.yml b/_config.yml index 578e338..528ef61 100644 --- a/_config.yml +++ b/_config.yml @@ -2,16 +2,3 @@ theme: jekyll-theme-midnight repository: SWG-Source/SWG-Source.github.io title: SWG Source description: Run your own private SWG Server (and help us develop it!) -collections: - docs: - output: true -defaults: - - scope: - path: "" - type: "docs" - values: - layout: "docs" - - scope: - path: "" - values: - layout: "default" diff --git a/_data/nav.yml b/_data/nav.yml deleted file mode 100644 index 0a1f0a9..0000000 --- a/_data/nav.yml +++ /dev/null @@ -1,6 +0,0 @@ -- name: Home - link: / -- name: Docs - link: https://github.com/SWG-Source/swg-main/wiki -- name: Contribute - link: /contribute.html diff --git a/_docs/wipe-database.md b/_docs/wipe-database.md deleted file mode 100644 index 2409f54..0000000 --- a/_docs/wipe-database.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: Wipe Your Database ---- -# Wipe Your Database -You might sometimes want to wipe your SWG database and start all over. This guide will help you do that. This guide assumes that you are already up and running on the v1.2.1 SWG Source Server VM. - -In your VM, go to `Start -> Logout -> Logout`. You will be brought to a login page. Login with Username: `oracle` and Password: `swg`. -[![Login as oracle](/assets/images/wipe-database-1.PNG)](/assets/images/wipe-database-1.PNG) -Use the button at the top of the desktop to open a terminal. Enter the command `dbca` and press enter. -[![dbca](/assets/images/wipe-database-2.PNG)](/assets/images/wipe-database-2.PNG) -This will open the Oracle Database Configuration Assistant. The first thing we will do it delete the database that already exists. Select "Delete database" and click Next. -[![Delete Database](/assets/images/wipe-database-3.PNG)](/assets/images/wipe-database-3.PNG) -You will need to provide the password (`swg`) and click Next again. -[![password](/assets/images/wipe-database-4.PNG)](/assets/images/wipe-database-4.PNG) -You will then be given the option to De-Register from EM Cloud Control. Just leave it unchecked and click Next. -[![Leave Unchecked](/assets/images/wipe-database-5.PNG)](/assets/images/wipe-database-5.PNG) -You will be given a summary of what is about to happen. Click Finish to run the operation. -[![Finish](/assets/images/wipe-database-6.PNG)](/assets/images/wipe-database-6.PNG) -Click Yes when prompted. -[![yes](/assets/images/wipe-database-7.PNG)](/assets/images/wipe-database-7.PNG) -Click Close when the operation has finished. -[![close](/assets/images/wipe-database-8.PNG)](/assets/images/wipe-database-8.PNG) -Use the Terminal to run the `dbca` command again. This time, we want to Create a database, so make sure that's selected and click next. -[![Create a database](/assets/images/wipe-database-9.PNG)](/assets/images/wipe-database-9.PNG) -You will now need to enter all the information Oracle needs in order to make your new database. Also, be sure to uncheck the "Create as a container database" selection. It's easiest if you choose `swg` for the Global database name and the password. You might be prompted that your password is not good enough, but you can just click Yes to continue. -[![swg](/assets/images/wipe-database-10.PNG)](/assets/images/wipe-database-10.PNG) -You will again be presented with a summary of what is about to happen. Click Finish to run the operation. This one may take several minutes. -[![finish](/assets/images/wipe-database-11.PNG)](/assets/images/wipe-database-11.PNG) -Click Close when the database creation is complete. -[![close](/assets/images/wipe-database-12.PNG)](/assets/images/wipe-database-12.PNG) -Next, enter the command `sudo nano /etc/oratab` and press enter. This will open the oratab configuration file. -[![oratab](/assets/images/wipe-database-13.PNG)](/assets/images/wipe-database-13.PNG) -Use your arrow keys to navigate to the bottom of this file and change the last character on the last line from `N` to `Y` as shown. This tells the system to automatically start your new database at the system's boot time. -[![Y](/assets/images/wipe-database-14.PNG)](/assets/images/wipe-database-14.PNG) -When you're finished, press CTRL+X to exit. Nano will ask you if you want to save. Press Y then Enter to save and close. You should now reboot your VM by going to `Start -> Logout -> Restart`. - -When your VM has rebooted, use the small button near the start menu to open SQL Developer. Right click on the existing connections to delete them. -[![Delete connections](/assets/images/wipe-database-15.PNG)](/assets/images/wipe-database-15.PNG) -Next, use the green plus sign to make a new connection. Enter a name that makes sense, then Username: `system` and Password: `swg`. Set your SID to `swg`. It's also helpful to check the Save Password checkbox. (Even though I didn't in the screenshot, I should have, haha.) You can then press the Test button to make sure everything's working. If so, click Save and close the window. -[![enter info](/assets/images/wipe-database-16.PNG)](/assets/images/wipe-database-16.PNG) -Double click on your new connection to connect to it. Once you've connected, you will need to copy the following commands into the Query Builder worksheet that was opened: -``` -ALTER USER SYSTEM IDENTIFIED by "swg"; -ALTER SESSION SET "_ORACLE_SCRIPT"=true; -CREATE USER swg IDENTIFIED by "swg"; -GRANT ALL PRIVILEGES TO swg; -GRANT UNLIMITED TABLESPACE TO swg; -alter system set sessions=3000 scope=spfile; -alter system set processes=3000 scope=spfile; -alter profile default limit password_life_time unlimited; -``` -After pasting these commands, click the "Run Script" button, that is, the play icon with the paper behind it. (NOT "Run Statement", that is, the regular play icon.) -[![sql query](/assets/images/wipe-database-17.PNG)](/assets/images/wipe-database-17.PNG) -You will now need to add another connection, so click the green plus sign once more. This time, your Username, Password, and SID should all be `swg`. Again, check the Save Password checkbox, even though I forgot to in the screenshot. Click Test, then Save if your test was successful. -[![swg connection](/assets/images/wipe-database-18.PNG)](/assets/images/wipe-database-18.PNG) -You may now close SQL Developer and open Terminator terminal. In the bottom left window, use the command `./build_linux.sh`. -[![build linux](/assets/images/wipe-database-19.PNG)](/assets/images/wipe-database-19.PNG) -You can skip most steps by entering `n`. The step you're interested in is importing the database. Select `y` for this one. The script will ask you a series of questions to get the information it needs to set up your new database. Use these responses: -``` -Enter the DSN for the database connection: //127.0.0.1/swg - -Enter the database username: swg - -Enter the database password: swg - -Enter value for max_characters_per_account: 10 - -Enter value for max_characters_per_cluster: 10 - -Enter value for character_slots: 10 - -Enter value for cluster_name: swg - -Enter value for host: 127.0.0.1 -``` -That's it! Start up your server and enjoy your fresh database. diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 41fb7e9..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -{% seo %} - - - - - - - - - - - - - -
- -
-
-

{{ site.title | default: site.github.repository_name }}

-

{{ site.description | default: site.github.project_tagline }}

-
- Check us out on GitHub - Join us on Discord -

- -
- - {{ content }} - -
- -
- - {% if site.google_analytics %} - - {% endif %} - - diff --git a/_layouts/docs.html b/_layouts/docs.html deleted file mode 100644 index 0f5c71d..0000000 --- a/_layouts/docs.html +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: default ---- -« Back to Docs

-{{ content }} diff --git a/assets/images/logo.png b/assets/images/logo.png deleted file mode 100644 index 74f2833..0000000 Binary files a/assets/images/logo.png and /dev/null differ diff --git a/assets/images/wipe-database-1.PNG b/assets/images/wipe-database-1.PNG deleted file mode 100644 index 1c01151..0000000 Binary files a/assets/images/wipe-database-1.PNG and /dev/null differ diff --git a/assets/images/wipe-database-10.PNG b/assets/images/wipe-database-10.PNG deleted file mode 100644 index f1648a6..0000000 Binary files a/assets/images/wipe-database-10.PNG and /dev/null differ diff --git a/assets/images/wipe-database-11.PNG b/assets/images/wipe-database-11.PNG deleted file mode 100644 index 269cfc4..0000000 Binary files a/assets/images/wipe-database-11.PNG and /dev/null differ diff --git a/assets/images/wipe-database-12.PNG b/assets/images/wipe-database-12.PNG deleted file mode 100644 index 7f41d2a..0000000 Binary files a/assets/images/wipe-database-12.PNG and /dev/null differ diff --git a/assets/images/wipe-database-13.PNG b/assets/images/wipe-database-13.PNG deleted file mode 100644 index e5b7c37..0000000 Binary files a/assets/images/wipe-database-13.PNG and /dev/null differ diff --git a/assets/images/wipe-database-14.PNG b/assets/images/wipe-database-14.PNG deleted file mode 100644 index beb1e13..0000000 Binary files a/assets/images/wipe-database-14.PNG and /dev/null differ diff --git a/assets/images/wipe-database-15.PNG b/assets/images/wipe-database-15.PNG deleted file mode 100644 index 6c64919..0000000 Binary files a/assets/images/wipe-database-15.PNG and /dev/null differ diff --git a/assets/images/wipe-database-16.PNG b/assets/images/wipe-database-16.PNG deleted file mode 100644 index 000e0f8..0000000 Binary files a/assets/images/wipe-database-16.PNG and /dev/null differ diff --git a/assets/images/wipe-database-17.PNG b/assets/images/wipe-database-17.PNG deleted file mode 100644 index e9c6ac0..0000000 Binary files a/assets/images/wipe-database-17.PNG and /dev/null differ diff --git a/assets/images/wipe-database-18.PNG b/assets/images/wipe-database-18.PNG deleted file mode 100644 index 984595c..0000000 Binary files a/assets/images/wipe-database-18.PNG and /dev/null differ diff --git a/assets/images/wipe-database-19.PNG b/assets/images/wipe-database-19.PNG deleted file mode 100644 index 8d50de4..0000000 Binary files a/assets/images/wipe-database-19.PNG and /dev/null differ diff --git a/assets/images/wipe-database-2.PNG b/assets/images/wipe-database-2.PNG deleted file mode 100644 index 9733c2f..0000000 Binary files a/assets/images/wipe-database-2.PNG and /dev/null differ diff --git a/assets/images/wipe-database-3.PNG b/assets/images/wipe-database-3.PNG deleted file mode 100644 index 55e22d7..0000000 Binary files a/assets/images/wipe-database-3.PNG and /dev/null differ diff --git a/assets/images/wipe-database-4.PNG b/assets/images/wipe-database-4.PNG deleted file mode 100644 index e48a8b2..0000000 Binary files a/assets/images/wipe-database-4.PNG and /dev/null differ diff --git a/assets/images/wipe-database-5.PNG b/assets/images/wipe-database-5.PNG deleted file mode 100644 index d21c882..0000000 Binary files a/assets/images/wipe-database-5.PNG and /dev/null differ diff --git a/assets/images/wipe-database-6.PNG b/assets/images/wipe-database-6.PNG deleted file mode 100644 index fc2deb3..0000000 Binary files a/assets/images/wipe-database-6.PNG and /dev/null differ diff --git a/assets/images/wipe-database-7.PNG b/assets/images/wipe-database-7.PNG deleted file mode 100644 index 4804501..0000000 Binary files a/assets/images/wipe-database-7.PNG and /dev/null differ diff --git a/assets/images/wipe-database-8.PNG b/assets/images/wipe-database-8.PNG deleted file mode 100644 index 01a8059..0000000 Binary files a/assets/images/wipe-database-8.PNG and /dev/null differ diff --git a/assets/images/wipe-database-9.PNG b/assets/images/wipe-database-9.PNG deleted file mode 100644 index b2b99ed..0000000 Binary files a/assets/images/wipe-database-9.PNG and /dev/null differ diff --git a/contribute.html b/contribute.html deleted file mode 100644 index cf89174..0000000 --- a/contribute.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Become a Contributer ---- -

So you wanna be a SWG Dev, eh?

-

Great! We want to have you on board! The best place to start would be on our Discord channel. That's where the community hangs out and it's the best place to ask questions and become familiar with the platform and with the codebase.

-

Are you a programmer?

-

If you want to start right now, feel free to fork our repos and try your hand at restoring something. You can then make a pull request to have your edits merged. We're also willing to give write access to contributers, so please introduce yourself in Discord. We want to meet you!

-

Not so much with the programming?

-

That's ok! You should join our Discord too. We can never have too many eyes looking for bugs. Bug reporting is a great way to contribute, and we appreciate them. You can also help with documentation. This website is written with Jekyll on GitHub Pages, which means that you can add a guide simply by adding a markdown file to the repository. Writing a guide is also a great way to learn something more throroughly.

-

Whatever your skill level, you're welcome in our community. Jump onto Discord and get involved!

diff --git a/docs.html b/docs.html deleted file mode 100644 index 0b5f67c..0000000 --- a/docs.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Docs ---- -

Documentation & Guides

-

Under Contruction...

- diff --git a/index.html b/index.html index 5272a50..4be07e9 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,35 @@ ---- -title: Home ---- -

Welcome to SWG Source!

-

To get started, check out the following downloads: -

-

-

To run the server, you will need Oracle VirtualBox.

-

To find all kinds of helpful documentation and information, check out the swg-main wiki.

+ + + + + + {% seo %} + + + + + + +
+
+
+

{{ site.title | default: site.github.repository_name }}

+

{{ site.description | default: site.github.project_tagline }}

+
+ Check us out on GitHub + Join us on Discord +

+
+

Welcome to SWG Source!

+

To get started, check out the following downloads: +

+

+

To run the server, you will need Oracle VirtualBox.

+

To find all kinds of helpful documentation and information, check out the swg-main wiki.

+
+
+ +