Giter Site home page Giter Site logo

eilifso / numfys Goto Github PK

View Code? Open in Web Editor NEW

This project forked from numfys/numfys

0.0 0.0 0.0 1.62 MB

A resource for use of numerical physics with Python, covering many topics in physics.

Home Page: http://numfys.net

Python 38.28% HTML 33.08% PowerShell 0.86% JavaScript 6.69% CSS 21.09%

numfys's Introduction

NumFys

A resource for solving problems in computational physics using Python, covering many topics in physics.

Set up the website on your system

  1. Clone this repository:

    git clone https://github.com/numfys/numfys.git
    
  2. Create and activate a new virtual environment:

    virtualenv -p /usr/bin/python3 venv
    source venv/bin/activate
    
  3. Use pip to install the necessary packages and dependencies from requirements.txt, by running:

    pip3 install -r requirements.txt
    

    NB! The installation depends on the libraries libmysqlclient and libjpeg. These are found in the following apt packages: libmysqlclient-dev and libjpeg8-dev.

  4. Set up the SQLite database by running the commands:

    ./manage.py makemigrations notebook
    ./manage.py migrate
    
  5. Now it's time to run the Django development server. In the directory containing manage.py, run:

    ./manage.py runserver
    
  6. To manage the website content, create a superuser and log in at 127.0.0.1:8000/admin:

    ./manage.py createsuperuser
    

Didn't work? Send us a message explaining what error message you got.

A project of the Department of Physics at NTNU, supported by Norgesuniversitetet.


License

The content of this project itself is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License, and the underlying source code used to format and display that content is licensed under a Modified License.

numfys's People

Contributors

hakonanes avatar askrogen avatar eilifso 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.