Coder Social home page Coder Social logo

cvfy-frontend's Introduction

CloudCVfy Webapp

Build Status Dependency Status devDependency Status

Follow issues template to file an issue unless it is a feature request.

Build instructions

This application requires node v5+

Using Docker:

  1. Install docker
  2. Install docker-compose
  3. Clone this repository

Note: Make sure the user deploying this application is in the "docker" group. That is, the user can use docker without sudo access.

sudo groupadd docker

sudo usermod -aG docker $USER

Then logout and log back in.

A.) docker compose (recommended)

  1. docker-compose up -d
  2. Wait for the build to finish. Visit 0.0.0.0:5001. Follow on-screen instructions to add a root user.
  3. If you want to change the port from 5001 to something else, edit docker-compose.yml file, line - "5001:5001" to - "<REQUIRED_PORT>:5001"

B.) Using docker directly

We need to setup mongodb manually in this case. You can use the provided Dockerfile in DBSetup/MongoDB for it or use your own mongodb instace running at port 27017 (default). If you are using your own mongodb instance, skip to step 5.

  1. cd to DBSetup/MongoDB
  2. docker build -t mongodb . Wait for the build to finish.
  3. docker run -d -p 27017:27017 --restart=always mongodb
  4. cd back to the root directory
  5. docker build -t cvfy . Wait for the build to finish.
  6. docker run -d -p 5001:5001 --restart=always cvfy
  7. Visit 0.0.0.0:5001 and follow the on-screen instructions to add a root user.
  8. If you want to change the port from 5001, run docker run -d -p <REQUIRED_PORT>:5001 --restart=always cvfy instead of command number 6 above.

Without docker (only OSX and Linux are supported as of now)

  1. Setup mongodb as described above (your own or from DBSetup/MongoDB).
  2. To change the application port, edit outCalls/config.js
  3. npm i
  4. npm run build -s
  5. npm start -s

Developement

Dev server (unsuitable for deployment)

  1. Setup mongodb as described above (your own or from DBSetup/MongoDB).
  2. To change the application port, edit outCalls/config.js
  3. npm i
  4. npm run dev -s

Production server

(Same as Without Docker section above under Build instructions).

(building for production will take some time and require > 1GB ram - use swap if your machine doesn't have meet the requirements)

License

This software is licensed under GNU AGPLv3. Please see the included License file. All external libraries, if modified, will be mentioned below explicitly.

cvfy-frontend's People

Contributors

dexter1691 avatar tocttou avatar

Watchers

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