Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
M
marketplace
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • marketplace
  • Wiki
  • Running Locally

Running Locally · Changes

Page history
Updated Running Locally (textile) authored Mar 10, 2016 by Chimumbwa George Shikopa's avatar Chimumbwa George Shikopa
Hide whitespace changes
Inline Side-by-side
Showing with 9 additions and 9 deletions
+9 -9
  • Running-Locally.textile Running-Locally.textile +9 -9
  • No files found.
Running-Locally.textile
View page @ 374cf513
...@@ -25,12 +25,12 @@ sudo vi /etc/hosts ...@@ -25,12 +25,12 @@ sudo vi /etc/hosts
</code></pre> </code></pre>
## Apache Configuration ## Apache Configuration
*** Update Apache to serve PHP by running from the command line (You will need Super User access): *** Update Apache to serve PHP by running from the command line (You will need Super User access):
<pre><code> **** <pre><code>
sudo su - sudo su -
vi /etc/apache2/httpd.conf vi /etc/apache2/httpd.conf
</code></pre> </code></pre>
**** Uncomment the following lines **** Uncomment the following lines
<pre><code> ***** <pre><code>
LoadModule deflate_module libexec/apache2/mod_deflate.so LoadModule deflate_module libexec/apache2/mod_deflate.so
LoadModule expires_module libexec/apache2/mod_expires.so LoadModule expires_module libexec/apache2/mod_expires.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so
...@@ -47,13 +47,13 @@ vi /etc/apache2/vhosts/default.conf ...@@ -47,13 +47,13 @@ vi /etc/apache2/vhosts/default.conf
DocumentRoot "/Library/WebServer/Documents" DocumentRoot "/Library/WebServer/Documents"
</VirtualHost> </VirtualHost>
</code></pre> </code></pre>
<pre><code> *** <pre><code>
mkdir /etc/apache2/vhosts mkdir /etc/apache2/vhosts
touch /etc/apache2/vhosts/marketplace.conf touch /etc/apache2/vhosts/marketplace.conf
vi /etc/apache2/vhosts/marketplace.conf vi /etc/apache2/vhosts/marketplace.conf
</code></pre> </code></pre>
<pre><code> **** <pre><code>
****<VirtualHost *:8888> <VirtualHost *:8888>
DocumentRoot "[path to local Marketplace repo]" DocumentRoot "[path to local Marketplace repo]"
ServerName blocpower.local ServerName blocpower.local
ErrorLog "/private/var/log/apache2/blocpower.local-error_log" ErrorLog "/private/var/log/apache2/blocpower.local-error_log"
...@@ -65,21 +65,21 @@ vi /etc/apache2/vhosts/marketplace.conf ...@@ -65,21 +65,21 @@ vi /etc/apache2/vhosts/marketplace.conf
</VirtualHost> </VirtualHost>
</code></pre> </code></pre>
*** Restart Apache *** Restart Apache
<pre><code> **** <pre><code>
apachectl restart apachectl restart
</code></pre> </code></pre>
## MySQL Setup ## MySQL Setup
*** Download and install MySQL *** Download and install MySQL
*** Setup root username and root password *** Setup root username and root password
*** Import Marketplace Database *** Import Marketplace Database
<pre><code> **** <pre><code>
mysql -u <mysql username> -p < database_backup.sql mysql -u <mysql username> -p < database_backup.sql
</code></pre> </code></pre>
**** Enter your mysql password, the same password created during setup ***** Enter your mysql password, the same password created during setup
## Wordpress Plugin Config ## Wordpress Plugin Config
*** Navigate to: [[http://blocpower:8888/wp-admin]] *** Navigate to: [[http://blocpower:8888/wp-admin]]
**** Login info: **** Login info:
<pre><code> ***** <pre><code>
Login: Blocpower Login: Blocpower
Password: get password from 1Password Password: get password from 1Password
</code></pre> </code></pre>
......
Clone repository
  • Continuous Deployment and Continuous Integration
  • Custom Fields & User Editor Plugin Setup
  • Deployment
  • Home
  • Running Locally
  • Stack
  • Testing