Commit f66bb2b6 authored by Florent Chehab's avatar Florent Chehab
Browse files

removed deploy CI #42

Repo structure complete redesign
Fixes #38
parent 818af843
../node_modules/leaflet/dist
\ No newline at end of file
../node_modules/react/umd
\ No newline at end of file
../node_modules/react-leaflet/dist
\ No newline at end of file
../../../node_modules/leaflet/dist/
\ No newline at end of file
../../../node_modules/react/umd
\ No newline at end of file
../../../node_modules/react-leaflet/dist
\ No newline at end of file
......@@ -2,10 +2,10 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const config = {
entry: {
main: "./frontend/src/index.js",
main: "./src/index.js",
},
output: {
path: __dirname + "/frontend/static/frontend",
path: __dirname + "/dist",
filename: "[name].js"
},
module: {
......@@ -44,7 +44,7 @@ const config = {
loader: 'file-loader',
options: {
name: '[name].[ext]',
publicPath: '../frontend/fonts/',
publicPath: './fonts/',
outputPath: 'fonts/'
}
}]
......
production.py
\ No newline at end of file
from .base import *
# Debug shouldn't be activated in production
DEBUG = False
# Is moderation activated (model moderation level is set to 1)
MODERATION_ACTIVATED = False
# Database config
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'DB_DATABASE_NAME',
'USER': 'DB_USER',
'PASSWORD': 'DB_USER_PASSWORD',
'HOST': 'localhost',
'PORT': '',
}
}
SECRET_KEY = 'a_random_string'
ALLOWED_HOSTS = ['your_production_domain_or_ip', 'your_local_domain']
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment