2017 © Pedro PelĂĄez
 

project portphilio

A web-based app for managing portfolios.

image

portphilio/portphilio

A web-based app for managing portfolios.

  • Friday, December 4, 2015
  • by morphatic
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Portphilio—Tell YOUR Story

Build Status Coverage Status GitHub, (*1)

Portphilio, (*2)

Portphilio is a free, open-source app designed to allow users to create and curate portfolios of their professional work. The app has been designed with educational contexts in mind, and will allow users of the system to request and receive feedback on entire portfolios, or individual elements within a portfolio, from other members of the community, i.e. peers, mentors, and instructors., (*3)

This repository contains the source code for the main Portphilio app. There is another repository that has the code for the Portphilio API. If you want to set up your own instance, you will need the code in both repositories. Below are instructions for how to set up a local development version of the main app., (*4)

How To Set Up a Dev Environment

If you would like to contribute to Portphilio development, here's how you can get the API up and running locally. To get the front end running locally, you'll first have to install and set up the back end API., (*5)

  1. Install necessary software (if not already installed when you set up the back end):
    1. NodeJS Please install the v10.x LTS version.
    2. Git
    3. mkcert
    4. VSCode
  2. Clone this repo to your local dev folder and install NPM dependencies:, (*6)

    cd ~/dev
    git clone https://github.com/portphilio/portphilio.git
    cd portphilio
    npm install
    
  3. Edit your hosts file (here's a tutorial) so you can use a "real" domain name on your dev server. Add the entry 127.0.0.1 portphilio.test, (*7)

  4. Install a local SSL certificate in the root portphilio directory (command with example output), (*8)

    $ mkcert portphilio.test
    Using the local CA at "/Users/yourusername/Library/Application Support/mkcert" ✹
    
    Created a new certificate valid for the following names 📜
    - "portphilio.test"
    
    The certificate is at "./portphilio.test.pem" and the key at "./portphilio.test-key.pem" ✅
    
  5. Copy the .env and .env.local files that are in the protected directory of our shared Google Drive folder into the root directory of the project. If you don't have access to the protected folder, please contact Morgan., (*9)

  6. Run npm install from the root of the project in your terminal to install all of the dependencies.
  7. Start up the API from a different window/tab in your terminal with the command npm run dev:ngrok
  8. Once the API starts up, copy the URL that looks like https://a837cf3.ngrok.io (the random code at the beginning will be different)
  9. In the terminal tab/window where you want to run the front end, you'll need to set an environment variable that has the ngrok URL you just copied from the API terminal., (*10)

    ```sh, (*11)

    on Windows

    set VUE_APP_API_URL https://a837cf3.ngrok.io, (*12)

    on Mac/Linux

    $ VUE_APP_API_URL=https://a837cf3.ngrok.io, (*13)

  10. Start up the front end server by running npm run serve from the terminal. The server should be able to read the ngrok URL from the environment variable you set in the previous step, and will allow your app to integrate with Auth0, specifically the account-creation process., (*14)

License

Copyright (c) 2019 Morgan C. Benton, (*15)

Licensed under the MIT license., (*16)

The Versions