Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 5e10dd43 authored by peter_rabbit's avatar peter_rabbit
Browse files

initial commit

parents
No related branches found
No related tags found
No related merge requests found
FROM nginx
## Remove default nginx index page
RUN rm -rf /usr/share/nginx/html/*
RUN apt-get update \
&& apt upgrade -y \
&& apt-get install nodejs npm -y \
&& npm install -g --silent browserify sass
WORKDIR /usr/share/nginx/html
COPY . .
\ No newline at end of file
Makefile 0 → 100644
build:
docker build -t kuadradoimg .
run:
docker run -p 9000:80 \
-it \
--name kuadrado \
--mount type=bind,source="$(shell pwd)",target=/usr/share/nginx/html \
-d kuadradoimg
start:
docker start kuadrado
stop:
docker stop kuadrado
bash:
docker exec -it kuadrado bash
web:
docker exec -it kuadrado bash -c "npm run web"
bundle.js
*.map
*.css.map
src/**/*.css
node_modules/
\ No newline at end of file
{
"name": "kuadrado-website",
"version": "0.1.0",
"description": "Presentation website of Kuadrado Software",
"main": "src/main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"web": "browserify src/main.js -o public/bundle.js",
"style": "sass --watch ./src:style"
},
"repository": "https://gitlab.com/peter_rabbit/kuadrado-website",
"author": "Kuadrado",
"license": "MIT",
"homepage": "https://gitlab.com/peter_rabbit/kuadrado-website#readme",
"dependencies": {}
}
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
console.log("hello kuadrado")
},{}]},{},[1]);
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Kuadrado Software</title>
<link href="../style/style.css" rel="stylesheet" />
</head>
<body>
<div id="main-container">Hello Kuadrado !!</div>
</body>
<!--run "npm run web" to build bundle.js -->
<script type="text/javascript" src="bundle.js"></script>
</html>
# Kuadrado
## Presentation website of Kuadrado Software
\ No newline at end of file
console.log("hello kuadrado")
\ No newline at end of file
#main-container {
* {
box-sizing: border-box;
}
font-family: Arial, Helvetica, sans-serif;
}
#main-container {
font-family: Arial, Helvetica, sans-serif;
}
#main-container * {
box-sizing: border-box;
}
/*# sourceMappingURL=style.css.map */
{"version":3,"sourceRoot":"","sources":["../src/style.scss"],"names":[],"mappings":"AAAA;EAII;;AAHA;EACI","file":"style.css"}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment