diff --git a/.assets/img/photo.jpg b/.assets/img/photo.jpg index 4d2b5c6d..5751acac 100644 Binary files a/.assets/img/photo.jpg and b/.assets/img/photo.jpg differ diff --git a/.assets/img/photo.xcf b/.assets/img/photo.xcf index 140d1aa7..f70694c4 100644 Binary files a/.assets/img/photo.xcf and b/.assets/img/photo.xcf differ diff --git a/README.md b/README.md index 16018173..ade4659e 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,42 @@ -# Nuage - -Call it an FTP client, an S3 viewer or a Dropbox like web app, Nuage leverages your existing storage to help you manage your files in the cloud using any of the following protocols/platforms: - -
- FTP • SFTP • WebDAV • Git • S3
- Dropbox • Google Drive
-
+ A Dropbox-like file manager that let you manage your data anywhere it is located:
+ FTP • SFTP • WebDAV • Git • S3
+ Dropbox • Google Drive
+
+ Yes we have a DEMO +
+ # Features -- manage your files directly from your browser -- work with multiple cloud providers and protocols, easily extensible -- upload files and folders -- mobile friendly -- super fast -- audio player -- video player -- image viewer -- emacs keybindings `;)` +- Manage your files directly from your browser +- User friendly +- Super fast +- Works offline +- Upload files and folders +- Works great on mobile +- Multiple cloud providers and protocols, easily extensible +- Audio player +- Video player +- Image viewer +- Emacs keybindings + [org mode](https://orgmode.org/) friendly `;)` +- Frequently access folders are pin to the homepage for quick access +- Customise the connection page so that your users don't even have to know what protocol to use and where it is located ([example](http://files.kerjean.me)) +- Stateless (perfect candidate for AWS lamdba if that's your thing) # Install -It's a simple react app with node in the backend. Installation requires docker, docker-compose and npm: +Nuage is a react app with node in the backend. Installation: ``` -# get the code -curl -L -X GET https://github.com/mickael-kerjean/nuage/archive/master.zip > nuage.zip -unzip nuage.zip && cd nuage-master -# install dependencies and create the actual image -npm run image && npm run start +git clone https://github.com/mickael-kerjean/nuage +cd nuage +npm install +npm run build +node server/index.js ``` -That's it ! + +Or with [docker](https://hub.docker.com/r/machines/nuage/) and [Docker compose](https://github.com/mickael-kerjean/nuage/blob/master/docker/docker-compose.yml) # What about my credentials? Credentials are stored in your browser in a http only cookie encrypted using aes-256-cbc and aren't persistent in the server disk at all. diff --git a/docker/img/Dockerfile b/docker/Dockerfile similarity index 96% rename from docker/img/Dockerfile rename to docker/Dockerfile index 10a582a3..f71e4738 100644 --- a/docker/img/Dockerfile +++ b/docker/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER mickael.kerjean@gmail.com COPY . /app WORKDIR "/app" +ENV NODE_ENV production RUN cd /app/ && \ # remove dev stuff @@ -18,5 +19,5 @@ RUN cd /app/ && \ apt-get -y clean && \ apt-get -y purge --auto-remove build-essential automake python && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* - + CMD ["node", "/app/server/index"] \ No newline at end of file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 7154ffed..f33ad6e3 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,10 +2,9 @@ version: '2' services: app: container_name: nuage - image: nuage + image: machines/nuage restart: always environment: - - NODE_ENV=production - SECRET_KEY=my_secret_key ports: - "10006:3000" \ No newline at end of file diff --git a/package.json b/package.json index df3ec9f1..5e051bdc 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,10 @@ "repository": "https://github.com/mickael-kerjean/nuage", "main": "server/index.js", "scripts": { - "dev": "webpack-dev-server --config webpack.config.js --progress --inline --hot --host 0.0.0.0", + "dev": "webpack --watch", "build": "NODE_ENV=production webpack -p", - "image": "docker build -t nuage -f ./docker/img/Dockerfile .", + "image": "docker build -t nuage -f ./docker/Dockerfile .", "publish": "docker tag nuage machines/nuage && docker push machines/nuage", - "start": "cd docker && docker-compose up -d", - "stop": "cd docker && docker-compose down", "clean": "rm -rf server/public/js server/public/*.html || true", "clear": "npm run clean && rm -rf node_modules" },