- Clone this repository and get into the website2 directory
$ git clone [email protected]:4GeeksAcademy/website.git
$ cd website
- Update the .env file
export DB_USER="root"
export DB_NAME="wordpress"
export DB_PASS=""
export SITE_NAME="My 4Geeks Super Site"
export SITE_URL="$(gp url 8080)"
export SITE_USER="gitpod"
export SITE_PASS="12341234"
export SITE_EMAIL="[email protected]"
- Run install bash script
$ sh install.sh
- Include these new variables into your configuration file:
define('BREATHECODE_API_HOST', 'https://api.breatheco.de');
define('BREATHECODE_ASSETS_HOST', 'https://assets.breatheco.de');
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', false);
define('WP_ASYNC_LOADING', false);
define('UGLIFY_HTML', false);
define('IPSTACK_KEY', '');
define('ACTIVE_CAMPAIGN_SERVER', '');
define('ACTIVE_CAMPAIGN_KEY', '');
define('WP_HOME','https://yourdomain.com');
define('WP_SITEURL','https://yourdomain.com');
- Create database for your installation
$ wp db create
Note: first check if MySQL is up an running (here is how to start mysql and phpmyadmin if you are using c9)
- Install wordpress
$ wp core install --url={domain.com} --title="First Attempt" --admin_user={yourusername} --admin_password={yourpassword} --admin_email={[email protected]}
Note: If you prefer to follow the wordpress wizard, access your website URL to follow it, and can skip this step.
-
Test your wordpress instalation (login) by going to /wp-admin
-
Install composer (if needed)
-
If everything is ok, check your composer.json remove or add any plugins based on your taste and run:
$ composer install
- Install node_modules and dependencies
$ npm install
Note: Make sure you have npm installed.
- Run webpack every time you want to generate a new bundle
$ npm run build:dev
./vendor/bin/phpunit wp-content/themes/the-fastest/tests/ --colors
These are all the mandatory plugins for the wordpress instalation (any other plugin is not really mandatory)
Included Via | Plugin |
---|---|
composer install | polylang |
composer install | email-templates |
composer install | nav-menu-roles |
composer install | post-types-order |
current repo | GravityForms |
current repo | Visual Composer |
current repo | GravityForms Registration Add-On |
current repo | Restrict User Access |
current repo | Toolset Types |
-
Toolset WP Types: The theme is heavily integrated with that plugin, all the custom posts and taxonomies have been configured with this tool and there is a folder class/types/ that contains all the code about this integration, staring for TypesSettings.class.php that is the main manager class.
-
Gravity Forms: This plugin handles most of the interactions with the user. We use the "User Registration add-on" to implement the sign-up functionality. All the other forms are heavily integrated as weel, each of the Gravity Forms takes care of a very particular but important data imput from the user.
-
VC Comporser: This plugin is the reason for the platform being on wordpress, the idea is to create many components to help the content team create better courses. Components like: Replit Exercise, Quizz, Regex Parser, etc.
Alejandro Sanchez
-
About me: alesanchezr.com
-
What happends next
-
Week by week
-
A day at the academy
-
Facts
- Senior only mentors
- SAllary increase average
- Open posssions right now
- Placement rate of ours
-
Skills
-
Technologies (try to blend it with weeb by week section.)
-
Pricing
-
Students
-
Proyects