Giter Club home page Giter Club logo

nationallibrarymaps's Introduction

National Library Maps Project

Development

There is a vagrantfile you can use. First clone the project, then enter mapwarper folder by type cd mapwarper and type vagrant up to get and install the virtual machine - this will also install pip and the libraries and depencies into the virtual machine. After that runs, type vagrant ssh to login.

Now type cd /srv/viewer and migrate the db with the command python manage.py migrate, then start python server by type python manage.py runserver 0.0.0.0:8000& and enter http://localhost:8000 to see if it's worked.

Create a admin user with the command python manage.py createsuperuser and follow the instructions in the terminal. After you finish the inserucations enter to http://localhost:8000/admin and login.

Now type cd /srv/mapwarper and then start the rails server by type rails s -b 0.0.0.0 -p 3000& and enter http://localhost:3000 to see if it's worked.

Now we need to create a new user in the postgis database so type rails c and then create a new user:

user = User.new
user.login = "super"
user.email = "[email protected]"
user.password = "12345678"
user.password_confirmation = "12345678"
user.save

When you'll type the last command (user.save) there'll be a url in the console output, copy it to the browser to activate the user, and try to login to the system.

nationallibrarymaps's People

Contributors

solebox avatar efratoio avatar moocow123 avatar

Stargazers

Udi Oron avatar

Watchers

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