Giter Site home page Giter Site logo

noobaa-old-old-old's Introduction

~~~ WARNING ~~~

THIS REPO IS DEPRECATED AND ARCHIVED




##Readme This guide will help you to setup your mahcine to develop with NooBaa. If you read this, it is YOUR role to take this code and make it into a script for the next person after you. If you are the 3rd person reading this (based on commits) you have a team of assholes.

This was ran on yuval's guest VM running kubuntu 14:

Linux yuvaldim-VirtualBox 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

###Assumption (should be modified when creating the script):

  • working folder = ~/workspace
  • git user name: "yuvaldim"
  • git user email: "[email protected]"
  • DB name in mongo "nb"

##Install git

sudo apt-get install git
git config --global user.name "yuvaldim"
git config --global user.email "[email protected]"
git config --list

##Install node

sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
#--The following is required for compatibility
#--- http://stackoverflow.com/questions/20057790/what-are-the-differences-between-node-js-and-node
sudo ln -s `which nodejs` /usr/local/bin/node

##Install heroku

sudo wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
# requires login
> heroku login

[Heroku has a windows and mac clients so you should try them out here.] (https://help.github.com/articles/set-up-git)

##Additional packages

#install gulp globaly
sudo npm install gulp -g
#install the notifier for gulp:
sudo apt-get install libnotify-bin
sudo apt-get install notify-osd

#Install mongo (2.4) We are using Mongo 2.4 so all info related to this version.

#http://docs.mongodb.org/v2.4/tutorial/install-mongodb-on-ubuntu/
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install mongodb-10gen=2.4.10
#the following prevernts from auto version upgrade
sudo echo "mongodb-10gen hold" | sudo dpkg --set-selections

To create the DB:

#ET

sudo mkdir -p /data/db
sudo mongod --smallfiles

#end ET
#---get into mongo:
# mongo
#---To create db nb
# use nb
#---insert some test data
# j = { name : "mongo" }
# db.testData.insert( j )
#---verify DB was created with 
# show dbs
db.addUser( { user: "admin", pwd: "admin", roles: [ "readWrite" ] } )

#Clone the project to your device

#--- create workspace folder under the user
mkdir ~/workspace
cd ~/workspace/
#clone the noobaa repository
git clone https://github.com/guymguym/noobaa.git
cd ~/workspace/noobaa
sudo npm install

#Get updated env file from Guy and update the bucket prefix

Installing Scons

download scones from http://downloads.sourceforge.net/project/scons/scons/2.3.4/scons-2.3.4.tar.gz?r=http%3A%2F%2Fwww.scons.org%2Fdownload.php&ts=1431437307&use_mirror=garr

tar -xzvf scons-2.3.4.tar.gz
cd scons-2.3.4
python setup.py install

install makensis for installation build (MAC)

Make sure you have scons installed ([Installing Scons](# Installing Scons)) download nsis from here: (for more information) follow http://blog.alejandrocelaya.com/2014/02/01/compile-nsis-scripts-in-linux/

curl -L "http://downloads.sourceforge.net/project/nsis/NSIS%203%20Pre-release/3.0b1/nsis-3.0b1-src.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fnsis%2Ffiles%2FNSIS%25203%2520Pre-release%2F3.0b1%2F&ts=1423381229&use_mirror=garr" > nsis-3.0b1-src.tar.bz2
curl -L "http://downloads.sourceforge.net/project/nsis/NSIS%203%20Pre-release/3.0b1/nsis-3.0b1.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fnsis%2Ffiles%2FNSIS%25203%2520Pre-release%2F3.0b1%2F&ts=1423381286&use_mirror=garr" >> nsis-3.0b1.zip
unzip nsis-3.0b1.zip
bzip2 -dk nsis-3.0b1-src.tar.bz2
tar -xvf nsis-3.0b1-src.tar

BEFORE you run the following command scons command, update SConstruct file under nsis-3.0b1-src folder with opts.Add(BoolVariable('STRIP_CP', 'Strips cross-platform executables of any unrequired data such as symbols', 'no'))

cd nsis-3.0b1-src
scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA=no PREFIX=<FULL_PATH>/nsis-3.0b1 install-compiler
chmod +x <FULL_PATH>/nsis-3.0b1/bin/makensis
ln -s <FULL_PATH>/nsis-3.0b1/bin/makensis /usr/local/bin/makensis
mkdir ./nsis-3.0b1/share
cd ./nsis-3.0b1/share
ln -s <FULL_PATH>/nsis-3.0b1 nsis

If there are problems with running scons regarding zlib errors, try installing zlib-devel

download nsis plugin

http://nsis.sourceforge.net/mediawiki/images/1/18/NsProcess.zip
  1. unzip
  2. copy /Include/nsProcess.nsh to /Include
  3. copy /Plugin/nsProcess.dll to /Plugins/x86-ansi

#build under folder /noobaa/src/planet-app/prod [TODO - Add to gulp script]

makensis noobaa.nsi

#Start it:

foreman start

noobaa-old-old-old's People

Contributors

guymguym avatar nimrod-becker avatar tamireran avatar yuvaldim avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

noobaa-old-old-old's Issues

Tsiyon - should have installer

.exe or .msi for windows.
.deb for ubuntu/debian
.rpm for redhat/fedora.
.app for mac - should work already - need to test

maybe will help #11

Bambi - tour is not helping the bad ux

We want to separate to:

  • welcome tour:
    • You can use noobaa to access, share and protect every file you have from anywhere, including your extreme media files.
    • Press here to upload files.
    • Splash screen with accomplishment on first upload.

Its very simple. We will show you how. Check out the guided tours.

  • List of available tours, with completed flag. Will blink until completed.
    • Upload
    • Open
    • Share
    • Open Shared
      -- Co-Share

Irit - upload folder

Handle DND
Show folder line in upload list with file count and handle cancel of the entire folder upload.

Planet login fails when facebook asks for permissions

It usually succeeds because the login from browser already granted the permissions, and then for planet there is no need to change.
The problem is that the planet needs to navigate to facebook, and currently this is done in a hidden iframe. It needs to be solved.

Sivan - Share a Folder

currently it is not disabled, and when sharing a folder, it appears as a file for the other user.

Sivan - Uploads dialog UI

  • add "clear completed" button
  • when hiding show status line in my data saying "currently uploading N files - NN%"
  • green color for completed lines is not very visible

Planet Tray

First option (left click): Go To NooBaa
Next option (right click menu): Manage Device
Last option - Quit.

NooBaa is AWESOME

NooBaa is so AWESOME that this must be the first issue of the project.

New LOGO and ICON needed

It seems that next step is to try another design with fiverrr based on our direction.
we need a design that will get rid of the military style feel of the logo.
we need a set of icons optimized for display on different sizes (8,16,32,64 pixels).
we need similar graphics for our site - error pages etc.
Our recent idea is SKATE-BIRD !!! (with owl or pheonix or other)

Planet showed the angular markups

This is on my windows.
My pc was connected/disconected etc.
At a certain point the planet window was open but it was blank.
When I scrolled down in it it showed the angular code.
planet_angular

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.