Website Summary Files Commits Branches @commit @diff @stats
AgeCommit messageAuthorLinesSHA
2020-07-07[Update] Added responsive About page with information and the devrix mascot feature/about
 Ivan Dimitrov
-6/+2212269e84
2020-07-07[Update] Added responsive FAQ page with questions and answers (#73)
 Ivan Dimitrov Unverified
-14/+2006b86b5d
2020-07-03Fixed the typos of the word 'Vehicle' in the cars cpt. (#58)
 Kamen Mladenov Unverified
-3/+38ee0ee3
[...]
 
 
Clone
https://git.syndamia.com/edu/IT-kariera/tues-interns-2020
git@syndamia.com:edu/IT-kariera/tues-interns-2020
 
BranchAge
master13 months
feature/offers-grid6 years
feature/account-page6 years
[...]
NameSize
.gitignore319 Blog stats plain blame
README.md1.7 KiBlog stats plain blame
db-dump.php1.2 KiBlog stats plain blame
wp-content67 Blog stats plain

tues-interns-2020

Local Setup

  1. Set-up LAMP Stack on your machine - You can check this guide
  2. Create a table from phpmyadmin/workbench or whatever suits you best
  3. Set-up your hosts. Go to '/etc/hosts' ( 'c:\windows\system32\drivers\etc\hosts' for Windows ) and add a new entry for Carmag at the localhost IP. example: 127.0.0.1 local.carmag.com
  4. Now, when you open this url you should be able to see the main folder of the localhost server
  5. Set-up Apache server to open the proper folder. Edit the /etc/apache2/apache2.conf file ( 'apache/conf/extra/httpd-vhosts.conf' for Windows ) Example of server configuration rules :
#Example config for Carmag

<VirtualHost *:80>
DocumentRoot /server/directory/here/
ServerName local.carmag.com
    ServerAlias local.carmag.com
<Directory /var/www/html/directory/>
               AllowOverride All
        Order allow,deny
        allow from all
</Directory>
</VirtualHost>
  1. Restart the server in order to see your changes sudo service apache2 restart
  2. Change permissions to 777 recursively for the directory: sudo chmod -R 777
  3. Download WP inside the server's directory. Either from wordpress.org or via wp-cli.
  4. Delete wp-content directory
  5. Clone the repository in temp directory
  6. Transfer the files from the tmp directory to the main directory of the site. Mind the git files that are hidden!
  7. Open the site and set-up the needed details. Use easy login details. It's you local installation after all.
  8. Edit wp-config.php. Make sure to have WP_DEBUG constant set to true!
  9. You should be all set now!