This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
/*found: https://support.advancedcustomfields.com/forums/topic/include-acf-to-my-plugin/*/ | |
/** Start: Detect ACF Pro plugin. Include if not present. */ | |
if ( !class_exists('acf') ) { // if ACF Pro plugin does not currently exist | |
/** Start: Customize ACF path */ | |
add_filter('acf/settings/path', 'cysp_acf_settings_path'); | |
function cysp_acf_settings_path( $path ) { | |
$path = plugin_dir_path( __FILE__ ) . 'acf/'; | |
return $path; | |
} |
Create the backend for a bootcamp directory website. The frontend/UI will be created by another team (future course). The html/css template has been created and can be used as a reference for functionality. All of the functionality below needs to be fully implmented in this project.
- List all bootcamps in the database
- Pagination
- Select specific fields in result
- Limit number of results
- Filter by fields
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:latest | |
RUN mkdir /app | |
WORKDIR /app | |
COPY package.json package.json | |
RUN npm install | |
COPY . . | |
EXPOSE 3000 | |
RUN npm install -g nodemon | |
CMD [ "nodemon", "app.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-12-31T14:26:48.256Z","extensionVersion":"v3.2.4"} |
NewerOlder