Skip to content

HackaIran/HOPE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

HOPE

[H]ackademy [O]pen-Source [P]rojects [E]valuator

Installation

$ git clone https://github.com/HackaIran/HOPE.git
$ cd HOPE/
$ npm install
$ npm run bundle

Usage

After complete installation, run this command to run HOPE server:

$ npm start

then you will have access to HOPE in your http://localhost:3000

Scripts

  • npm start - Runs express server over port 3000
  • npm run start:watch - Same as npm start but watches files for changes.
  • npm run bundle - Bundles source files using webpack.
  • npm run bundle:watch - Same as npm run bundle but watches files for changes.

Docker

If you'd prefer to run HOPE inside a Docker container, you may pull the image from Docker Hub or you could even build it using the Dockerfile included.

  1. Pull the image using
$ docker pull hackairan/hope
  1. Clone the repository or just the "docker-compose.yml" in the current directory.
  2. Use "docker-compose" to run the HOPE and MongoDB images and easily link them: (HOPE depends on MongoDB)
$ docker-compose up -d

The -d flag starts the containers in the background and leaves them running. In order to stop the containers, execute:

$ docker-compose down
  • To build the image using Dockerfile, get the "Dockerfile" or change directory to the cloned repository and execute the following command:
$ docker build -t hackairan/hope .

and then follow step 3.

License

BSD 3-Clause

About

🧪 [H]ackademy [O]pen-Source [P]rojects [E]valuator

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published