GithubHelp home page GithubHelp logo

ajeetbpr / portfolio-3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alex-cory/portfolio

0.0 1.0 0.0 51.47 MB

Built with React, Relay, GraphQL, and all babel-node's ES2016 features!

Home Page: http://alexcory.com

JavaScript 84.03% CSS 10.20% HTML 5.77%

portfolio-3's Introduction

Relay Portfolio

This is my portfolio that I built using Facebooks new React, Relay and GraphQL. I happened to use AWS's EC2 to host so I will cover setting that up in this as well.

Config

Make sure to setup the config file. Do this first because there are files dependent on this one having the correct data.

  1. Make sure to rename the file config/example_config.js to config/config.js
  2. Fill in your usernames and urls

AWS EC2 Setup

Dependencies

  • Ubuntu Server
  • pm2

Step 1

Install nodejs, git...

sudo apt-get update
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y git oh-my-zsh nodejs

I personally like to create a folder www and store my projects in there. So for my portfolio directory on the server it would look like www/alexcory.com where alexcory.com is my project folder.

Step 2

Instead of running on port 80 you can redirect port 80 to your application's port (>1024) using

iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3000

This will work if your application is running on port 3000.

portfolio-3's People

Contributors

alex-cory avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.