Giter VIP home page Giter VIP logo

valentina's Introduction

Valentina

WIP (i.e. work in progress), but feel free to get in touh and join us.

Install

Requirements

We use Django in the backend and React in the frontend. We also use Bower to manage some assets requirements.

That said these are the requirements:

Dependencies

Once you have pip and npm available let's install the dependencies:

pip install -r requirements.txt
npm install
bower install

Facebook settings

In order to use Facebook OAuth, create a app as a developer at Facebook and get your app secret and app key.

While setting you app there you should add http://localhost:8000/ http://localhost:8000/app/ and http://localhost:8000/oauth/login/facebook/ as valid OAuth redirect URIs (it's inside Settings, Advanced).

Settings

Copy contrib/.env.sample as .env in the project's root folder and adjust your settings.

At this point it's crucial to configure the acceess to you database (PostgreSQL is not required, but recommended), and to add the app secret and key you got during the previous step.

Migrations

Once you're done with requirements, dependencies and settings, create the basic structure at the database and create a super-user for you:

python manage.py migrate
python manage.py createsuperuser

In case you are turning off the debug mode

If you are going to run the app with DEBUG=False first you will have to set the stage for your static files:

python manage.py collectstatic

Ready?

Not sure? Run python manage.py check and python manage.py test just in case.

Accessing Valentina

Run the server with python manage.py runserver and load localhost:8000 with your favorite browser.

If you want to test the login required area, as a developer you can login through Django Admin and then go back to the root.

Thanks

Thanks to Golden Roof, ChangHoon, João Proença and Sergey Demushkin for their beautiful icons.

##I License

Licensed under the MIT License.

valentina's People

Contributors

cuducos avatar andrealmar avatar g4brielvs avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

g4brielvs

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.