Skip to content

A Behance powered web app focussing on a design firms designers projects. From in house designers projects to personal projects.

Notifications You must be signed in to change notification settings

QuentinMcCarthy/ocular-web-app-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Ocular Web App Portfolio

Instructions for use

This repository has dependencies listed in a package.json file for NPM. Upon cloning / downloading this repository, you will need to run npm install in both the node/ and react/ folders to download their dependencies.

Alongside the dependencies in the package.json, some globals will be needed to run the servers:

  • react-cli
  • nodemon

Both of the above must be installed globally using NPM's install -global option.

Both servers must be running at the same time for the application to work. The back-end node server is hosted on port 4000 while the front-end React server is hosted on port 3000.

Certain API keys will be needed for certain parts of the application.

  • In the file config.json (config_example.json supplied), a Behance API key will be needed.
  • The file .env.local (.env.local.example supplied) will need a Google Maps JavaScript API key.

Both API keys should be placed within the quotation marks in both files. Both files should be in the same format as their supplied example files, as well as in the same places.

If running the app on a Vagrant server, you will need to create a .env file inside the react/ folder. Inside said .env file you will need these lines:

CHOKIDAR_USEPOLLING=true
HOST=:IP

Where :IP is the IP address of the Vagrant server i.e. 192.168.33.10

Once everything is setup, the commands to run the individual servers must be run in their respective folders. While in the node/ folder, the command to run the node server is npm run dev:server While in the react/ folder, the command to run the react server is npm start

While development is in progress, the instructions below will need to be followed, as certain files are not currently setup.

Development

All dependencies, including dev dependencies must be installed during development via npm from both package.json files in the node/ and react/ folders.

Aside from the dependencies in the package.json some globals will need to be installed on the machine:

  • ruby
  • ruby-sass
  • grunt-cli

Bear in mind the above globals are only required for development, relating to the compiling of files, you will still need to follow the Instructions for Use section. Only the grunt-cli is able to be installed using npm install -global. Ruby and ruby-sass will need to be installed from the official website.

On first setup of the filesystem, you will need to run grunt loadcss within the react/ folder to load the CSS

About

A Behance powered web app focussing on a design firms designers projects. From in house designers projects to personal projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •