emdecr / the-swell-space

Home Page:https://theswell.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



the swell space

The place to document things when the curiosity itch strikes.

release badge version 1.0 nuxt.js badge version 2.8.1 WordPress badge version 5.2.2 emdecr badge

Intro | Installation | Local Setup | Server Setup | Credits

Intro

This is a hybrid environment using WordPress to manage content, and Nuxt.js to serve a front-end application.

Installation

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer.

Local Setup

# 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 .

WordPress

# 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

Installed Plugins

Nuxt

# 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

Extra NPM Packages

Installed Plugins

Default head entries and modules in nuxt.config.js

Note: Change the keys or project IDs

  • n/a

Pre-processors

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.

Server Setup

Link to docs coming soon.

Credits

Badges in this README.md provided by shields.io.

About

https://theswell.space


Languages

Language:PHP 41.5%Language:JavaScript 34.5%Language:CSS 19.0%Language:Vue 4.6%Language:Hack 0.4%Language:Shell 0.0%