The place to document things when the curiosity itch strikes.
Intro | Installation | Local Setup | Server Setup | Credits
This is a hybrid environment using WordPress to manage content, and Nuxt.js to serve a front-end application.
To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer.
# Clone this repository
## You can use the repo name as the dir name
$ git clone https://github.com/emdecr/the-swell-space
## OR Use whatever dir name
$ mkdir [insert dir name here]
$ cd [insert dir name here]
$ git clone https://github.com/emdecr/the-swell-space .
# Go into the repository and the cms dir
$ cd the-swell-space/cms
# Make a wordpress dir
$ mkdir wordpress
# Clone WP in wordpress dir
$ cd wordpress
$ git clone https://github.com/WordPress/WordPress .
# Create a working branch from the right release
$ git checkout tags/5.2.2
$ git checkout -b stable-5.2.2
- Meta Box
- Meta Box - CPT
- Meta Box Group
- Meta Box REST API
- TinyMCE Advanced
- Because sometimes the paragraph tags get stripped in WYSIWYGs
# Go into the repository and the app dir
$ cd the-swell-space/app
# Install dependencies
$ npm install
# create an .env file
$ touch .env
## There should be variables BASE_ROUTER and WP_API_URL
## Ask THE SQUAD (♥︎) for the values
# Run the app
$ npm run dev
Note: Change the keys or project IDs
- n/a
Need to SASS? Check the official Nuxt.js docs. There's a base SASS setup in the assets dir, but just delete it if you don't need it.
Link to docs coming soon.
Badges in this README.md provided by shields.io.