-
Notifications
You must be signed in to change notification settings - Fork 256
Installation
Make sure all the above stuff is installed. Here is a shortcut for Debian/Ubuntu/Nginx. Configuration help is not included.
sudo apt-get install -y php5 php5-gd ruby ruby-dev mysql-server nginx && sudo gem install compass
If you are using Apache, just type that instead. (So you don't install Nginx when you don't need it)
sudo apt-get install -y php5 php5-gd ruby ruby-dev mysql-server && sudo gem install compass
Navigate to your desired install location and git clone
the repo:
git clone https://github.com/exodus4d/pathfinder.git
If using PHPMyAdmin you probably have to increase upload_max_filesize
to get it imported. Importing by SSH is much more prefered!
Download and import the CDE
wget https://gist.github.com/exodus4d/a31d5d283f77e8a229e2/raw/7aad4098887e872a02719aae622e26dc4e54c0b0/pathfinder.sql
mysql -u root -p pathfinder < pathfinder.sql // This will create a *pathfinder_clean* database and import the .sql file. Replace _root_ with your mysql user.
Make sure, that all column
indexes
and foreignkey constraints
have been imported correct! Otherwise you will get DB errors and the cache engine can not track all tables (Models), which may result in bad performance!
You also need to import the Eve SDE into the database specified in the DB_CCP_* settings. You can do this like the following:
wget https://www.fuzzwork.co.uk/dump/mysql-latest.tar.bz2
tar xf mysql-latest.tar.bz2
cd mysql-{}/
mysql -u -p __DATABASE_NAME__ < db_file.sql
You don´t have to import all tables into your DB. PATHFINDER requires only the following:
- invtypes
- mapconstellations
- mapdenormalize
- maplocationwormholeclasses
- mapregions
- mapsolarsystems
There are hundreds of guides on how to configure apache/nginx to serve PHP sites. Use Google if you need help with this.