Giter Site home page Giter Site logo

emplea-do / emplea_do Goto Github PK

View Code? Open in Web Editor NEW
77.0 19.0 55.0 16.9 MB

Open source tech jobs portal. Made with .Net Core

Home Page: https://emplea.do

License: MIT License

C# 35.00% CSS 35.57% JavaScript 2.11% HTML 23.88% Shell 0.55% Batchfile 0.80% Less 0.82% SCSS 1.28%
aspnet-core aspnet-mvc dotnet-core csharp visual-studio mvc-core entity-framework-core hacktoberfest

emplea_do's Introduction

Emplea.do

Production CI Build Status

Build status

Beta CI Build Status

Build Status

Getting the project up and running

Install the following software

Running the app for the first time

  1. Run the script (init.sh or init.bat), this will install all command line tools and it will initialize and setup the database
  2. Open the solution
  3. Restore the NuGet packages
  4. Run the Web project

This project has two initializations for Windows and for Linux or Mac

Workflow

  1. Review the list of issues and pick the one you like.
  2. Check if the issue has been assigned to someone.
  3. Requesting for the issue to be assigned to you with a comment.
  4. Create a feature branch in your repo in the following format feature/{issue_number}-simple-title.
  5. Work iteratively and commit often.
  6. Ask for help when needed. If you run into any impediment, air it out in slack or comment in your issue.
  7. Prepare the Pull Request following the guidelines.

JS libraries and Libman

This project includes some third-party js libraries, they have been included in the repo because they are integral to the correct workings of the theme we picked. If you need to add another third-party library, make sure to do it using the LibMan CLI. It gets installed when you run the init.sh script.

Configuring Authentication

Rename the appsetting.template.json file to appsetting.json and complete the client ids and secrets for each authentication provider you want to use.

You can see a step-by-step guide of how to do it.

Configure Database

Replace the password for the database in the files Migrations/Scripts/dockerize-db.sh or Migrations/Scripts/dockerize-db.bat and init.sh or init.bat accordingly to your OS, also in the appsettings file.

You can find more information here about the database.

Ignoring changes in the appsettings file

Ignore the changes made to the appsettings.Development.json file run the following

git update-index --assume-unchanged Web/appsettings.Development.json

The init.sh does this automatically.

Slack Configuration

To configure your own SlackService just follow the Official to get started. After you complete the slack configuration, you should have a token and a workspace section, with a Webhook URL that'll look something like this https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX, you should only be interested in T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX (because that is what we are going to use in the appsetting).

Now add your token with key "VerificationToken" and workspace section with key "WebhookEndpoint" to the slack section in appsettings.development.json.

If you have any questions or just want to hang out

Powered By

.Net Azure Azure devops Jetbrains Visual Studio Visual Studio Code

License

This project is licensed under the MIT License - see the LICENSE file for details

emplea_do's People

Contributors

amaurygomez avatar cesarlachapelle avatar christianrd avatar claudiosanchez avatar codercampos avatar cuesto avatar eatskolnikov avatar eddycordero avatar ekeller avatar erickconcepcion avatar gromney avatar hminaya avatar hommydej avatar icepeda avatar ivanatista avatar jadhielv avatar jpozo20 avatar juniorfelixgb avatar luis-ramirez avatar ming-tsai avatar richard809 avatar robertlluberes avatar samueldaviddelacruz avatar varlackc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emplea_do's Issues

Agregar librerías Javascript utilizando LibMan

Según la revisión que pude realizar, actualmente el proyecto está utilizando las siguientes librerías Javascript de manera estatica en el Layout y otros archivos, lo que lo hace inmanejable:

El objetivo es agregar estas librerías al proyecto utilizando LibMan, que es un Library Manager, el proveedor que utiliza LibMan es cdnjs, de donde descarga los paquetes.

Según mi experiencia, los pasos serian los siguientes:

  1. Instalar el LibMan command-line interface (CLI)
  2. Instalar cada una de las librerías utilizadas en el proyecto utilizando LibMan, es importante cerciorarse de que estamos instalando la versión que tenemos actualmente en el proyecto, esto lo podemos identificar muchas veces abriendo la libreria, por ejemplo, si abrimos el archivo \Web\wwwroot\js\jquery.min.js veremos un comentario con algo como: jQuery v2.1.4, así sabremos que versión instalar.
  3. Indicar la nueva ubicación de la librería, por ejemplo, podría cambiar de <script src="~/js/jquery.min.js"></script> a <script src="~/lib/jquery.min.js"></script>
  4. Correr el proyecto y en la ventana de las herramientas del desarrollador de tu navegador (se abre pulsando F12 en la mayoría de los navegadores), en la pestaña de Network cerciorarse de que todas las librerías Javascript estén cargando correctamente y no arrojen un error 404 (Not Found)

Nuevos diseños de páginas

Migrations failing when being run in a new database (SQL Server).

If you try to run the migrations in a new Database (SQL Server), the inserting of data fails.

dotnet fm migrate -p SqlServer -c "Data Source=.;Initial Catalog=emplea-do-new;Persist Security Info=True;Trusted_Connection=True" -a .\Migrations\bin\Debug\netcoreapp2.2\Migrations.dll --verbose

Screen Shot 2019-09-18 at 9 29 58 PM

Configurar autenticación

Vamosa configurarlo usando OWIN para .net core e integraremos estos servicios por ahora:

  • Google #48
  • Linkedin
  • Microsoft
  • Facebook
  • Github

[Discussion] Update to Identity Framework and don't depend on social media log ins

I have noticed that the site uses social media providers to log in users. Is there any way to create a login / sign up feature that does not depend on social media providers.

I know, in practice, it's easy to use your social media but I think We have to support the "old-reliable" login / sign up process. Also, for testing in a local environment, We won't need social keys to test new feature.

Mixed Content Errors

I am receiving the following mixed content errors:

  1. A file with an insecure url of "http://fonts.googleapis.com/css?family=Lato:400,700|Montserrat:700" was loaded on line: 28 of https://emplea.do/. This URL will need to be updated to use a secure URL for your padlock to return.

  2. A file with an insecure url of "http://maps.googleapis.com/maps/api/js?libraries=places" was loaded on line: 545 of https://emplea.do/. This URL will need to be updated to use a secure URL for your padlock to return.

  3. An image with an insecure url of "http://my.asmaapp.com/img/asmaapp.png" was loaded on line: 222 of https://emplea.do/. This URL will need to be updated to use a secure URL for your padlock to return.

Agrega manejador de paquetes para javascripts

Actualmente estamos agregando al repositorio los archivos estáticos de librerías JS de terceros. La idea es removerlos y usar algo como npm y un script de inicialización que descargue las librerías.

Error en inicio de sesión con Google

Desde aquí: https://emplea.do/account/login

Elijo la opción ACCEDE CON GOOGLE y me lleva al inicio de sesión en Google. Como tengo varias cuentas activas, me permite seleccionar con cuál quiero iniciar sesión. Elijo la cuenta deseada y me devuelve al mismo sitio de emplea.do para iniciar sesión, como si no hubiese hecho nada previamente.

Permitir hacer preview de empleos no aprobados

Comportamiento actual:

  • Si el job no ha sido aprobado solo sale un mensaje de "La posición está pendiente de aprobación"
  • La persona que creó la posición no puede ver/revisar el detalle de la posición hasta que es aprobada

Comportamiento deseado:

  • Permitir que se vea el trabajo sin aprobar
  • La persona que lo creó debe poder ver el detalle de la posición aunque no haya sido publicada

How can I access to the emplea.do's slack?

Hi there, I was looking int the README how I can have access to the emplea.do's slack team and I haven't seen anything related to.

Is there any way to access there?

Thanks

Add migrations for entities

Read the whole thing before starting 👇

  • Add migrations for entities in the root of the Domain project, just the root.
  • Add the table name as a constant
  • One entity per migration file

Make sure to install the fluent migrator CLI tool

dotnet tool install -g FluentMigrator.DotNet.Cli

You need to compile the Migrations project before running the script

The command to run the migrations is bellow. You need to run it from the Migrations project folder.

dotnet fm migrate -p sqlite -c "Data Source=../mydb.db" -a "bin/Debug/netcoreapp2.2/Migrations.dll"

This will create an SQLite Database in the root of the solution.

Use any SQLite client you prefer to confirm the changes are applied.

The alerts don't show

When using the WithSuccess, WithWarning or WithError extension methods the alert isnt showing.
It is my believe this is a sessions /flashdata kind of problem.

Steps to reproduce:

  • Try to create a job post

If there is a field with the wrong format you should get something like this:
screen shot 2018-09-13 at 2 50 39 pm

If the post is correctly submitted you should be redirected and see an alert like in this picture:
screen shot 2018-09-13 at 2 51 13 pm

In either case the alert is not showing.

Crear capa de acceso a datos

  • Configurar db context
  • Agregar table configurations
  • Agregar clases de repositorios
  • Agregar valores de categorías y hiretypes

Migrate the old data

We need to create a script to migrate the currently available data and moves it to the new model

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.