Skip to content

AbnerGrajales/MakingDevelopers

 
 

Repository files navigation

MakingDevelopers

Codejobs is developing Mastodone CMS with new technologies such as: Node, React, Redux, Handlebars, Gulp, HTML5, Stylus and more... and teaching how to do it.

You can see the videos that we have done so far and get involve in the project!

Subscribe to Codejobs Youtube Channel!

Setup Instructions

Requirements

Installation

  • Clone the repository:
 git clone git@github.com:MilkZoft/MakingDevelopers.git
  • Install the dependencies with yarn.
yarn
  • Import the database to your MySQL (http://localhost/phpmyadmin)

  • Configure your MySQL Database connection parameters on src/config/config.yml

  • Add to your hosts:

127.0.0.1 local.makingdevelopers.com
  • Includes the proxy file to our vhost file (/private/etc/apache2/extra/httpd-vhosts.conf):
Include /Users/<Your Mac User>/<Your Path to the Project>/MakingDevelopers/001-MakingDevelopers-proxy.conf
  • Restart Apache
sudo apachectl restart
  • Install Redis

In Mac:

brew install redis

In Ubuntu:

sudo add-apt-repository ppa:chris-lea/redis-server 
sudo apt-get update
sudo apt-get install redis-server
  • Start the application server
gulp

Tasks

  • gulp Start server in development mode (executes start-dev task)
  • gulp start Start server in production mode
  • gulp analyze Eslint validator
  • gulp content Retrieves all the content translations
  • gulp test Run unit tests
  • gulp vendor Compiles and compress vendor js files (jquery, ckeditor, etc.) into vendor.js
  • gulp all Compiles and compress js files into all.js

Libraries Used

Troubleshooting

  • If you get a Redis error like this:

Creating Server TCP listening socket *:6379: bind: Address already in use

You will need to run the follow command

redis-cli

And then execute this command to shutdown the server:

shutdown

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.9%
  • CSS 12.4%
  • HTML 5.7%